Skip to content

Commit 4a21348

Browse files
authored
Merge pull request #22509 from jketema/jketema/kt-format
Kotlin: fix broken formatting
2 parents 3a9633b + 56f5e44 commit 4a21348

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)