Skip to content

Commit b851e24

Browse files
committed
Fixed bug #495
1 parent e5babbd commit b851e24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Microsoft.OpenApi.Readers/OpenApiTextReaderReader.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public OpenApiDocument Read(TextReader input, out OpenApiDiagnostic diagnostic)
4545
catch (YamlException ex)
4646
{
4747
diagnostic = new OpenApiDiagnostic();
48-
diagnostic.Errors.Add(new OpenApiError($"#char={ex.Start.Line}", ex.Message));
48+
diagnostic.Errors.Add(new OpenApiError($"#line={ex.Start.Line}", ex.Message));
4949
return new OpenApiDocument();
5050
}
5151

0 commit comments

Comments
 (0)