Skip to content

Commit 89adb0e

Browse files
committed
Fix singular vs plural error reporting
1 parent ef5fb87 commit 89adb0e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/Logger.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ module Terminal = Make (
127127
make_bold @@ add_color color
128128
@@ String.make (max how_many_characters 1) '^'
129129
in
130-
if how_many_characters = 0 then
130+
if how_many_characters = 1 then
131131
sprintf
132132
"@[<1>%sFile \"%s\", line %d, character \
133133
%d:@]@.@[<1>%d%s%s@]@.@[<1>%s%s@]@."

0 commit comments

Comments
 (0)