Skip to content

Commit 96dd80c

Browse files
kyliauKeen Yee Liau
authored andcommitted
fix: change scope setting for ngdk from 'window' to 'machine'
This commit changes the scope for `ngdk` from the default value `window` to `machine` because `window` allows any project in a workspace to modify the workspace settings, and `ngdk` could potentially be modified to point to a compromised package. Machine scope only allows the config value to be set in user or remote settings.
1 parent ad6e0f4 commit 96dd80c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@
3333
"null"
3434
],
3535
"default": null,
36-
"description": "Specifies the folder path to @angular/language-service."
36+
"description": "Specifies the folder path to @angular/language-service.",
37+
"scope": "machine"
3738
},
3839
"angular.log": {
3940
"type": "string",

0 commit comments

Comments
 (0)