We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe9137b commit 6615be4Copy full SHA for 6615be4
src/integrations/editor/DiffViewProvider.ts
@@ -278,7 +278,7 @@ export class DiffViewProvider {
278
updatedDocument.positionAt(updatedDocument.getText().length),
279
)
280
281
- edit.replace(updatedDocument.uri, fullRange, this.originalContent ?? "")
+ edit.replace(updatedDocument.uri, fullRange, this.stripAllBOMs(this.originalContent ?? ""))
282
283
// Apply the edit and save, since contents shouldnt have changed
284
// this won't show in local history unless of course the user made
0 commit comments