Skip to content

Commit

Permalink
[autofix.ci] apply automated fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored Dec 24, 2024
1 parent 2ce182b commit 903ddeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clients/vscode/src/chat/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export function chatPanelLineRangeToVSCodeRange(lineRange: LineRange): VSCodeRan

export function chatPanelLocationToVSCodeRange(location: Location | undefined): VSCodeRange | null {
if (!location) {
return null
return null;
}
if (typeof location === "number") {
const position = new VSCodePosition(Math.max(0, location - 1), 0);
Expand Down

0 comments on commit 903ddeb

Please sign in to comment.