Skip to content

Commit 2266ae6

Browse files
committed
Find subdirectories of libraries by system-independent paths
1 parent 79e9405 commit 2266ae6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/com/goide/sdk/GoSdkUtil.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,7 @@ public static VirtualFile findFileByRelativeToLibrariesPath(@NotNull String path
201201
if (path.isEmpty()) {
202202
return null;
203203
}
204+
path = FileUtil.toSystemIndependentName(path);
204205
for (VirtualFile root : getSourcesPathsToLookup(project, module)) {
205206
VirtualFile file = root.findFileByRelativePath(path);
206207
if (file != null) {

0 commit comments

Comments
 (0)