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 92be7b5 commit f217f2a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion clients/vscode/src/chat/WebviewHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,9 @@ export class WebviewHelper {
}
}

const targetRange = fileLocation.location ? chatPanelLocationToVSCodeRange(fileLocation.location) ?? new Range(0, 0, 0, 0) : new Range(0, 0, 0, 0);
const targetRange = fileLocation.location
? chatPanelLocationToVSCodeRange(fileLocation.location) ?? new Range(0, 0, 0, 0)
: new Range(0, 0, 0, 0);
try {
await commands.executeCommand(
"editor.action.goToLocations",
Expand Down

0 comments on commit f217f2a

Please sign in to comment.