Skip to content

Commit 5a762cf

Browse files
author
Jackson Kearl
committed
1 parent 9e69ee9 commit 5a762cf

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/vs/workbench/contrib/search/browser/searchEditorInput.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,9 @@ export class SearchEditorInput extends EditorInput {
100100
if (this.isUntitled()) {
101101
return this.saveAs(group, options);
102102
} else {
103+
await this.textFileService.write(this.resource, (await this.model).getValue(), options);
103104
this.setDirty(false);
104-
const res = await !!this.textFileService.write(this.resource, (await this.model).getValue(), options);
105-
return res ? this : undefined;
105+
return this;
106106
}
107107
}
108108

0 commit comments

Comments
 (0)