mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -05:00
Merge from vscode 81d7885dc2e9dc617e1522697a2966bc4025a45d (#5949)
* Merge from vscode 81d7885dc2e9dc617e1522697a2966bc4025a45d * Fix vs unit tests and hygiene issue * Fix strict null check issue
This commit is contained in:
@@ -524,9 +524,9 @@ export class PreferencesService extends Disposable implements IPreferencesServic
|
||||
switch (configurationTarget) {
|
||||
case ConfigurationTarget.USER:
|
||||
case ConfigurationTarget.USER_LOCAL:
|
||||
return URI.file(this.environmentService.appSettingsPath);
|
||||
return this.environmentService.settingsResource;
|
||||
case ConfigurationTarget.USER_REMOTE:
|
||||
return URI.file(this.environmentService.appSettingsPath);
|
||||
return this.environmentService.settingsResource;
|
||||
case ConfigurationTarget.WORKSPACE:
|
||||
if (this.contextService.getWorkbenchState() === WorkbenchState.EMPTY) {
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user