Skip to content

Commit

Permalink
Bugfix.
Browse files Browse the repository at this point in the history
  • Loading branch information
petervdonovan committed May 27, 2023
1 parent 32e74b5 commit 433b9e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buildSrc/src/main/java/lfformat/LfFormatStep.java
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public String format(@SuppressWarnings("NullableProblems") String rawUnix, File
} catch (IOException e) {
formatter.waitFor();
error.lines().forEach(System.out::println);
formatter = null;
initializeFormatter();
throw new RuntimeException("Failed to format " + file + ".\nPlease ensure that this file passes validator checks.");
}
String line = reader.readLine();
Expand Down

0 comments on commit 433b9e6

Please sign in to comment.