Skip to content

Exception when SourceFile is in directory #340

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

Closed
pranjalvachaspati-toast opened this issue Dec 15, 2022 · 0 comments
Closed

Exception when SourceFile is in directory #340

pranjalvachaspati-toast opened this issue Dec 15, 2022 · 0 comments

Comments

@pranjalvachaspati-toast
Copy link
Contributor

createNewFile() throws an exception if you try to create a SourceFile with path like /foo/bar/baz/MyFile.kt.

The fix, in PR #339, is to call mkdirs() on the parent directory.

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

No branches or pull requests

2 participants