Skip to content

Exception when SourceFile is in directory #340

Closed
@pranjalvachaspati-toast

Description

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions