Closed pranjalvachaspati-toast closed 1 year ago
createNewFile() throws an exception if you try to create a SourceFile with path like /foo/bar/baz/MyFile.kt.
createNewFile()
/foo/bar/baz/MyFile.kt
The fix, in PR #339, is to call mkdirs() on the parent directory.
mkdirs()
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.