Skip to content

Commit

Permalink
fix: inline diff editor format (#3618)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ricbet authored May 6, 2024
1 parent 31306e4 commit 6701a28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ai-native/src/browser/ai-editor.contribution.ts
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ export class AIEditorContribution extends Disposable implements IEditorFeatureCo
const indent = leadingWhitespaceMatch ? leadingWhitespaceMatch[0] : ' ';
return answer
.split('\n')
.map((line, index) => (index === 0 ? line : `${indent}${line}`))
.map((line) => `${indent}${line}`)
.join('\n');
}

Expand Down

0 comments on commit 6701a28

Please sign in to comment.