Skip to content

Commit

Permalink
Onboard task extension to workspace trust
Browse files Browse the repository at this point in the history
  • Loading branch information
alexr00 committed Apr 9, 2021
1 parent b2b90e9 commit 50fe76b
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 deletions.
4 changes: 4 additions & 0 deletions extensions/grunt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@
"activationEvents": [
"onCommand:workbench.action.tasks.runTask"
],
"workspaceTrust": {
"request": "never",
"description": "This extension only provides tasks. Trust is already required by the tasks system before any task providers are called."
},
"contributes": {
"configuration": {
"id": "grunt",
Expand Down
4 changes: 4 additions & 0 deletions extensions/gulp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@
"activationEvents": [
"onCommand:workbench.action.tasks.runTask"
],
"workspaceTrust": {
"request": "never",
"description": "This extension only provides tasks. Trust is already required by the tasks system before any task providers are called."
},
"contributes": {
"configuration": {
"id": "gulp",
Expand Down
4 changes: 4 additions & 0 deletions extensions/jake/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@
"activationEvents": [
"onCommand:workbench.action.tasks.runTask"
],
"workspaceTrust": {
"request": "never",
"description": "This extension only provides tasks. Trust is already required by the tasks system before any task providers are called."
},
"contributes": {
"configuration": {
"id": "jake",
Expand Down
4 changes: 4 additions & 0 deletions extensions/npm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@
"workspaceContains:package.json",
"onView:npm"
],
"workspaceTrust": {
"request": "onDemand",
"description": "This extension calls the `tasks.executeTask()` API, which requires trust to run."
},
"contributes": {
"languages": [
{
Expand Down

0 comments on commit 50fe76b

Please sign in to comment.