mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-15 17:22:25 -05:00
Merge from vscode 3c6f6af7347d38e87bc6406024e8dcf9e9bce229 (#8962)
* Merge from vscode 3c6f6af7347d38e87bc6406024e8dcf9e9bce229 * skip failing tests * update mac build image
This commit is contained in:
committed by
Karl Burtram
parent
0eaee18dc4
commit
fefe1454de
@@ -95,7 +95,7 @@ class MainThreadNotebookEditor extends Disposable {
|
||||
}
|
||||
|
||||
public save(): Thenable<boolean> {
|
||||
return this.textFileService.save(this.uri);
|
||||
return this.textFileService.save(this.uri).then(uri => !!uri);
|
||||
}
|
||||
|
||||
public matches(input: NotebookInput): boolean {
|
||||
@@ -351,7 +351,7 @@ export class MainThreadNotebookDocumentsAndEditors extends Disposable implements
|
||||
let uriString = URI.revive(uri).toString();
|
||||
let editor = this._notebookEditors.get(uriString);
|
||||
if (editor) {
|
||||
return editor.save();
|
||||
return editor.save().then(uri => !!uri);
|
||||
} else {
|
||||
return Promise.resolve(false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user