Skip to content

Commit

Permalink
Update JsonPosition.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCropp committed Jan 8, 2024
1 parent 661b7a5 commit 8cb0a1c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Argon/JsonPosition.cs
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,10 @@ internal static string FormatMessage(IJsonLineInfo? lineInfo, string path, strin

if (!message.EndsWith('.'))
{
message += ".";
message += '.';
}

message += " ";
message += ' ';
}

message += $"Path '{path}'";
Expand All @@ -112,7 +112,7 @@ internal static string FormatMessage(IJsonLineInfo? lineInfo, string path, strin
message += $", line {lineInfo.LineNumber}, position {lineInfo.LinePosition}";
}

message += ".";
message += '.';

return message;
}
Expand Down

0 comments on commit 8cb0a1c

Please sign in to comment.