Skip to content

Commit

Permalink
Ensure environment variables are always strings in launch.json (#9728)
Browse files Browse the repository at this point in the history
* Ensure environment variables are always strings.

* Add news item
  • Loading branch information
karthiknadig authored Jan 23, 2020
1 parent 9e893bf commit 9238d01
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
1 change: 1 addition & 0 deletions news/2 Fixes/9568.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Ensure environment variables are always strings in `launch.json`.
10 changes: 8 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -1155,7 +1155,10 @@
"env": {
"type": "object",
"description": "Environment variables defined as a key value pair. Property ends up being the Environment Variable and the value of the property ends up being the value of the Env Variable.",
"default": {}
"default": {},
"additionalProperties": {
"type": "string"
}
},
"envFile": {
"type": "string",
Expand Down Expand Up @@ -1282,7 +1285,10 @@
"env": {
"type": "object",
"description": "Environment variables defined as a key value pair. Property ends up being the Environment Variable and the value of the property ends up being the value of the Env Variable.",
"default": {}
"default": {},
"additionalProperties": {
"type": "string"
}
},
"envFile": {
"type": "string",
Expand Down

0 comments on commit 9238d01

Please sign in to comment.