mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-06-04 19:26:33 +00:00
fixed delete -> cancel
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
This commit is contained in:
parent
a49ba05d5e
commit
e36e42910c
@ -27,8 +27,8 @@ export class WorkspaceDeleteHandler extends TheiaWorkspaceDeleteHandler {
|
||||
await Promise.all([...sketch.additionalFileUris, ...sketch.otherSketchFileUris, sketch.mainFileUri].map(uri => this.closeWithoutSaving(new URI(uri))));
|
||||
await this.fileSystem.delete(sketch.uri);
|
||||
window.close();
|
||||
return;
|
||||
}
|
||||
return;
|
||||
}
|
||||
return super.execute(uris);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user