There was an error while loading. Please reload this page.
2 parents 3a9633b + 56f5e44 commit 4a21348Copy full SHA for 4a21348
1 file changed
java/kotlin-extractor/src/main/java/com/semmle/util/files/FileUtil.java
@@ -1244,8 +1244,8 @@ public static File tryMakeCanonical (File f)
1244
try {
1245
// getCanonicalFile does not canonicalize subst drives on Windows, so do this separately. This
1246
// is a no-op on non-Windows platforms.
1247
- return SubstResolver.resolve(f.getCanonicalFile()); }
1248
- catch (IOException ignored) {
+ return SubstResolver.resolve(f.getCanonicalFile());
+ } catch (IOException ignored) {
1249
Exceptions.ignore(ignored, "Can't log error: Could be too verbose.");
1250
return new File(simplifyPath(f));
1251
}
0 commit comments