Skip to content

Commit

Permalink
package.json: allow additional properties for alternateTools
Browse files Browse the repository at this point in the history
In #284, we started
to use additionalProperties to support vscode's new setting UI
feature available for object type settings if the settings
accept only predefined properties.

 "go.alternateTools" can accept more tool names than those
specified in package.json. So, correct its additionalProperties
value.

Fixes #526

Change-Id: I72d2a7e72702d13bc74ed72a34a93756569bb041
Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/248619
Reviewed-by: Suzy Mueller <[email protected]>
  • Loading branch information
hyangah committed Aug 17, 2020
1 parent 56f2f9e commit e1603dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -1927,7 +1927,7 @@
"description": "Alternate tool to use instead of the guru binary or alternate path to use for the guru binary."
}
},
"additionalProperties": false
"additionalProperties": true
}
}
},
Expand Down

0 comments on commit e1603dd

Please sign in to comment.