We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45f747b commit 0dc31b8Copy full SHA for 0dc31b8
server/src/incrementalCompilation.ts
@@ -376,7 +376,7 @@ function triggerIncrementalCompilationOfFile(
376
return;
377
}
378
const workspaceRootPath = projectRootPath
379
- ? utils.findProjectRootOfFile(projectRootPath)
+ ? utils.findProjectRootOfFileInDir(projectRootPath)
380
: null;
381
382
const bscBinaryLocation = project.bscBinaryLocation;
server/src/utils.ts
@@ -25,7 +25,7 @@ export let createFileInTempDir = (extension = "") => {
25
return path.join(os.tmpdir(), tempFileName);
26
};
27
28
-let findProjectRootOfFileInDir = (
+export let findProjectRootOfFileInDir = (
29
source: p.DocumentUri
30
): null | p.DocumentUri => {
31
let dir = path.dirname(source);
0 commit comments