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 cb0a249 commit aaf1417Copy full SHA for aaf1417
javascript/extractor/src/com/semmle/js/extractor/AutoBuild.java
@@ -712,9 +712,8 @@ protected DependencyInstallationResult installDependencies(Set<Path> filesToExtr
712
if (!verifyYarnInstallation()) {
713
return DependencyInstallationResult.empty;
714
}
715
-
716
- final Path sourceRoot = Paths.get(".").toAbsolutePath();
717
- final Path virtualSourceRoot = Paths.get(EnvironmentVariables.getScratchDir()).toAbsolutePath();
+ final Path sourceRoot = LGTM_SRC;
+ final Path virtualSourceRoot = toRealPath(Paths.get(EnvironmentVariables.getScratchDir()));
718
719
// Read all package.json files and index them by name.
720
Map<Path, JsonObject> packageJsonFiles = new LinkedHashMap<>();
0 commit comments