Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Remove old document
  • Loading branch information
DonJayamanne committed Apr 15, 2020
commit 1e28a597c9eedf67199eacf19739259a1c1351a5
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ export class NativeEditorProviderOld extends NativeEditorProvider {
const customDocument = this.customDocuments.get(resource.fsPath);
if (customDocument) {
await this.saveAs(customDocument, targetResource);
this.customDocuments.delete(resource.fsPath);
this.customDocuments.set(targetResource.fsPath, { ...customDocument, uri: targetResource });
}
}
Expand Down