Onboard task extension to workspace trust

This commit is contained in:
Alex Ross 2021-04-09 14:28:39 +02:00
parent b2b90e970c
commit 50fe76ba29
No known key found for this signature in database
GPG key ID: 89DDDBA66CBA7840
4 changed files with 16 additions and 0 deletions

View file

@ -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",

View file

@ -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",

View file

@ -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",

View file

@ -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": [
{