Skip to content

Commit

Permalink
package.json: update launch args schema
Browse files Browse the repository at this point in the history
This is a follow-up change from golang#2670 to update the schema. This avoids intellisense warning squiggly lines when updating `launch.json` while using a `string` type for `args`.

Validated by importing the local `.vsix` extension, and verifying no warnings show up for `string` and `array` args.

Fixes golang#2621

Change-Id: I13248d65a2a13d4cf2b40921e7af4613ec3ce253
GitHub-Last-Rev: f6fefc3
GitHub-Pull-Request: golang#2777
Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/495816
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
Auto-Submit: Hyang-Ah Hana Kim <hyangah@gmail.com>
Run-TryBot: Hyang-Ah Hana Kim <hyangah@gmail.com>
Reviewed-by: Suzy Mueller <suzmue@golang.org>
TryBot-Bypass: Hyang-Ah Hana Kim <hyangah@gmail.com>
Commit-Queue: Hyang-Ah Hana Kim <hyangah@gmail.com>
  • Loading branch information
weikanglim authored and gopherbot committed May 19, 2023
1 parent 69fd83a commit df47423
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 @@ -678,7 +678,7 @@
"default": false
},
"args": {
"type": "array",
"type": ["array", "string"],
"description": "Command line arguments passed to the debugged program.",
"items": {
"type": "string"
Expand Down

0 comments on commit df47423

Please sign in to comment.