Skip to content

Commit

Permalink
translate to a 1-based location for the marker service (#208161)
Browse files Browse the repository at this point in the history
  • Loading branch information
amunger authored Mar 20, 2024
1 parent f7c827a commit 2dd85de
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,10 @@ export class CellDiagnostics extends Disposable {
return {
severity: 8,
message: message,
...location,
startLineNumber: location.startLineNumber + 1,
startColumn: location.startColumn + 1,
endLineNumber: location.endLineNumber + 1,
endColumn: location.endColumn + 1,
source: 'Cell Execution Error'
};
}
Expand Down

0 comments on commit 2dd85de

Please sign in to comment.