Skip to content

Commit d195206

Browse files
committed
Fix microsoft#80134 - editor service requires strongly typed options
1 parent db0fb19 commit d195206

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/vs/workbench/services/preferences/browser/preferencesService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ export class PreferencesService extends Disposable implements IPreferencesServic
214214

215215
private openSettings2(options?: ISettingsEditorOptions): Promise<IEditor> {
216216
const input = this.settingsEditor2Input;
217-
return this.editorService.openEditor(input, options)
217+
return this.editorService.openEditor(input, options ? SettingsEditorOptions.create(options) : undefined)
218218
.then(() => this.editorGroupService.activeGroup.activeControl!);
219219
}
220220

0 commit comments

Comments
 (0)