mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 11:38:51 +01:00
Getting closer to shared config #59803
This commit is contained in:
@@ -57,7 +57,7 @@ export function withRandomFileEditor(initialContents: string, fileExtension: str
|
||||
return vscode.window.showTextDocument(doc).then((editor) => {
|
||||
return run(editor, doc).then(_ => {
|
||||
if (doc.isDirty) {
|
||||
return doc.save().then(saved => {
|
||||
return doc.save().then(() => {
|
||||
return deleteFile(file);
|
||||
});
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user