Skip to content

Commit d0cf709

Browse files
erik-kroghasgerf
andauthored
use proper path construction
Co-authored-by: Asger F <[email protected]>
1 parent 63a5f89 commit d0cf709

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

javascript/extractor/src/com/semmle/js/extractor/AutoBuild.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ public int run() throws IOException {
461461
warn("No JavaScript or TypeScript code found.");
462462
}
463463
// ensuring that the finalize steps detects that no code was seen.
464-
Path srcFolder = Paths.get(EnvironmentVariables.getWipDatabase() + "/src");
464+
Path srcFolder = Paths.get(EnvironmentVariables.getWipDatabase(), "src");
465465
// check that the srcFolder is empty
466466
if (Files.list(srcFolder).count() == 0) {
467467
// Non-recursive delete because "src/" should be empty.

0 commit comments

Comments
 (0)