GP-0 fix incorrect test for bad file path

This commit is contained in:
dev747368
2026-04-21 16:51:10 +00:00
parent 36a5227126
commit 7bb41e65cd
@@ -169,7 +169,7 @@ public class LocalDirDebugInfoDProvider implements DebugFileStorage {
private File getBuildidDir(String buildId) throws IOException { private File getBuildidDir(String buildId) throws IOException {
File dir = new File(rootDir, buildId); File dir = new File(rootDir, buildId);
if (rootDir.equals(dir.getParentFile())) { if (!rootDir.equals(dir.getParentFile())) {
throw new IOException("Bad buildid value: " + buildId); throw new IOException("Bad buildid value: " + buildId);
} }
return dir; return dir;