Skip to content

Commit

Permalink
Use prettier arrow to highlight line with the arrow
Browse files Browse the repository at this point in the history
  • Loading branch information
holly-cummins committed Sep 12, 2024
1 parent 155093d commit 718e182
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@ private static List<String> getRelatedLinesInSource(Path filePath, int lineNumbe
if (currentLine >= lineNumber - contextRange) {
String ln = String.valueOf(currentLine);
if (currentLine == lineNumber) {
ln = "-> " + ln + " ";
ln = " " + ln + " ";
} else {
ln = " " + ln + " ";
ln = " " + ln + " ";
}

contextQueue.add("\t" + ln + line);
Expand Down

0 comments on commit 718e182

Please sign in to comment.