mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
no need to use absolute file
This commit is contained in:
@@ -122,9 +122,7 @@ fun getOrCreateVirtualFile(file: Path, requestor: Any?): VirtualFile {
|
||||
return virtualFile
|
||||
}
|
||||
|
||||
val absoluteFile = file.toAbsolutePath()
|
||||
|
||||
val parentFile = absoluteFile.parent
|
||||
val parentFile = file.parent
|
||||
parentFile.createDirectories()
|
||||
|
||||
// need refresh if the directory has just been created
|
||||
|
||||
Reference in New Issue
Block a user