translate to a 1-based location for the marker service (#208161)

This commit is contained in:
Aaron Munger
2024-03-19 22:03:24 -07:00
committed by GitHub
parent f7c827a5e0
commit 2dd85deb72
@@ -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'
};
}