mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-04 23:39:07 +07:00
json schema: fix adding local user-defined json schema file
Regression after 65db4eb7d0af6df4ddce48e96db8f55c5b0c2d78 GitOrigin-RevId: 7648601976418f96289f343a6af0d1855f6bbd79
This commit is contained in:
committed by
intellij-monorepo-bot
parent
f8c4ea5eb4
commit
d868c60c3b
@@ -150,7 +150,7 @@ public class JsonSchemaInfo {
|
||||
return text;
|
||||
}
|
||||
|
||||
String relativePath = FileUtil.getRelativePath(FileUtil.toSystemIndependentName(file.toString()), project.getBasePath(), '/');
|
||||
String relativePath = FileUtil.getRelativePath(project.getBasePath(), FileUtil.toSystemIndependentName(file.toString()), '/');
|
||||
if (relativePath != null) {
|
||||
return relativePath;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user