mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-03-31 09:10:30 -04:00
Merge from vscode 9bc92b48d945144abb405b9e8df05e18accb9148
This commit is contained in:
@@ -63,7 +63,7 @@ export class PreferencesContribution implements IWorkbenchContribution {
|
||||
}
|
||||
|
||||
private onEditorOpening(editor: IEditorInput, options: IEditorOptions | ITextEditorOptions | undefined, group: IEditorGroup): IOpenEditorOverride | undefined {
|
||||
const resource = editor.getResource();
|
||||
const resource = editor.resource;
|
||||
if (
|
||||
!resource ||
|
||||
!endsWith(resource.path, 'settings.json') || // resource must end in settings.json
|
||||
|
||||
Reference in New Issue
Block a user