mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-10-25 11:08:32 +00:00
implemented a few more edit contributions.
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
This commit is contained in:
@@ -32,7 +32,7 @@ export class SaveAsSketch extends SketchContribution {
|
||||
* Resolves `true` if the sketch was successfully saved as something.
|
||||
*/
|
||||
async saveAs({ execOnlyIfTemp, openAfterMove }: SaveAsSketch.Options = SaveAsSketch.Options.DEFAULT): Promise<boolean> {
|
||||
const sketch = await this.getCurrentSketch();
|
||||
const sketch = await this.currentSketch();
|
||||
if (!sketch) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user