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

🐛 Fix: Prevent NullPointerException when creating directories. #29

Merged
merged 1 commit into from
Aug 2, 2024

Conversation

Core2002
Copy link
Collaborator

@Core2002 Core2002 commented Aug 2, 2024

Ensure the parent directory is only created if the getParentFile() is not null, averting a potential NullPointerException. This adjustment safeguards the config handling against issues when the file object might not have a parent directory.

Ensure the parent directory is only created if the `getParentFile()` is not null,
averting a potential `NullPointerException`. This adjustment safeguards the config
handling against issues when the file object might not have a parent directory.
@Core2002 Core2002 merged commit 9e23aa3 into hanbings:main Aug 2, 2024
3 checks passed
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.

1 participant