File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
src/vs/workbench/services/preferences/browser Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,7 @@ import { IUserDataProfilesService } from 'vs/platform/userDataProfile/common/use
45
45
import { ResourceSet } from 'vs/base/common/map' ;
46
46
import { isEqual } from 'vs/base/common/resources' ;
47
47
import { IURLService } from 'vs/platform/url/common/url' ;
48
+ import { compareIgnoreCase } from 'vs/base/common/strings' ;
48
49
49
50
const emptyEditableSettingsContent = '{\n}' ;
50
51
@@ -608,7 +609,7 @@ export class PreferencesService extends Disposable implements IPreferencesServic
608
609
for ( const group of this . _settingsGroups ) {
609
610
for ( const section of group . sections ) {
610
611
for ( const setting of section . settings ) {
611
- if ( setting . key === settingId ) {
612
+ if ( compareIgnoreCase ( setting . key , settingId ) === 0 ) {
612
613
return setting ;
613
614
}
614
615
}
@@ -625,7 +626,7 @@ export class PreferencesService extends Disposable implements IPreferencesServic
625
626
*
626
627
*/
627
628
async handleURL ( uri : URI ) : Promise < boolean > {
628
- if ( uri . authority !== SETTINGS_AUTHORITY ) {
629
+ if ( compareIgnoreCase ( uri . authority , SETTINGS_AUTHORITY ) !== 0 ) {
629
630
return false ;
630
631
}
631
632
You can’t perform that action at this time.
0 commit comments