Skip to content

Commit 56f5e44

Browse files
committed
Kotlin: fix broken formatting
1 parent 3a9633b commit 56f5e44

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • java/kotlin-extractor/src/main/java/com/semmle/util/files

java/kotlin-extractor/src/main/java/com/semmle/util/files/FileUtil.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1244,8 +1244,8 @@ public static File tryMakeCanonical (File f)
12441244
try {
12451245
// getCanonicalFile does not canonicalize subst drives on Windows, so do this separately. This
12461246
// is a no-op on non-Windows platforms.
1247-
return SubstResolver.resolve(f.getCanonicalFile()); }
1248-
catch (IOException ignored) {
1247+
return SubstResolver.resolve(f.getCanonicalFile());
1248+
} catch (IOException ignored) {
12491249
Exceptions.ignore(ignored, "Can't log error: Could be too verbose.");
12501250
return new File(simplifyPath(f));
12511251
}

0 commit comments

Comments
 (0)