Skip to content

Commit

Permalink
修复require路径问题
Browse files Browse the repository at this point in the history
  • Loading branch information
CppCXY committed Jul 28, 2022
1 parent 2bfbded commit d1a536f
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -252,8 +252,8 @@ class LuaWorkspaceService : WorkspaceService, IWorkspace {

val pair = findOrCreate(fileURI, true)
val folder = pair.first!!
if (pair.second)
rootList.add(folder)
// if (pair.second)
rootList.add(folder)
return folder
}

Expand Down Expand Up @@ -358,6 +358,7 @@ class LuaWorkspaceService : WorkspaceService, IWorkspace {
} catch (e: Exception) {
System.err.println("workspace parse error: $e")
}

monitor.done()
}

Expand Down

0 comments on commit d1a536f

Please sign in to comment.