Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Feuermagier committed Jul 12, 2024
1 parent 6e31a20 commit 9535ce0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ private void execute(
problems.stream()
.map(problem -> {
CodePosition position = problem.getPosition();
Text sourceText = Text.fromString(0, position.readCompilationUnit());
Text sourceText = Text.fromString(0, position.readSourceFile());
Formatter formatter = new Formatter(
System.lineSeparator(),
highlightFromCodePosition(position, linter.translateMessage(problem.getExplanation()))
Expand Down

0 comments on commit 9535ce0

Please sign in to comment.