mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-20 16:49:06 +01:00
Don't require return value backup
Fixes #91703 All custom editors should implement backup or throw an exception if they cannot for some reason.
This commit is contained in:
@@ -727,7 +727,7 @@ export class ExtHostWebviews implements ExtHostWebviewsShape {
|
||||
return document._saveAs(URI.revive(targetResource));
|
||||
}
|
||||
|
||||
async $backup(resourceComponents: UriComponents, viewType: string, cancellation: CancellationToken): Promise<boolean> {
|
||||
async $backup(resourceComponents: UriComponents, viewType: string, cancellation: CancellationToken): Promise<void> {
|
||||
const document = this.getDocument(viewType, resourceComponents);
|
||||
return document._backup(cancellation);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user