mirror of
https://github.com/github/codeql.git
synced 2026-01-06 03:00:24 +01:00
use proper path construction
Co-authored-by: Asger F <asgerf@github.com>
This commit is contained in:
committed by
GitHub
parent
63a5f8965e
commit
d0cf709d2e
@@ -461,7 +461,7 @@ public class AutoBuild {
|
||||
warn("No JavaScript or TypeScript code found.");
|
||||
}
|
||||
// ensuring that the finalize steps detects that no code was seen.
|
||||
Path srcFolder = Paths.get(EnvironmentVariables.getWipDatabase() + "/src");
|
||||
Path srcFolder = Paths.get(EnvironmentVariables.getWipDatabase(), "src");
|
||||
// check that the srcFolder is empty
|
||||
if (Files.list(srcFolder).count() == 0) {
|
||||
// Non-recursive delete because "src/" should be empty.
|
||||
|
||||
Reference in New Issue
Block a user