Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes warning about already existing file saving. #2260

Merged
merged 1 commit into from
Jan 5, 2024
Merged

Conversation

BONNe
Copy link
Member

@BONNe BONNe commented Jan 5, 2024

Spigot JavaPlugin#saveResources either replaces or complains that replacement is disabled. So it is necessary to check if file does not exists before saving it.

Fixes #2259

Spigot JavaPlugin#saveResources either replaces or complains that replacement is disabled. So it is necessary to check if file does not exists before saving it.

Fixes #2259
@BONNe BONNe merged commit fc658ca into develop Jan 5, 2024
1 check passed
@BONNe BONNe deleted the file-sawing-warn branch January 5, 2024 04:18
Copy link

sonarqubecloud bot commented Jan 5, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

File creation WARN
1 participant