Skip to content

Commit

Permalink
Fixing sourceFileMaps inner type (#999)
Browse files Browse the repository at this point in the history
SourceFileMaps are restricted to be strings, adding this so that the
hints will show that it needs to be a string type.
  • Loading branch information
WardenGnaw authored and gregg-miskelly committed Nov 29, 2016
1 parent 975ebe7 commit fa34a83
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -560,6 +560,9 @@
"sourceFileMap": {
"type": "object",
"description": "Optional source file mappings passed to the debug engine. Example: '{ \"C:\\foo\":\"/home/user/foo\" }'",
"additionalProperties": {
"type": "string"
},
"default": {
"<source-path>": "<target-path>"
}
Expand Down Expand Up @@ -807,6 +810,9 @@
"sourceFileMap": {
"type": "object",
"description": "Optional source file mappings passed to the debug engine. Example: '{ \"C:\\foo\":\"/home/user/foo\" }'",
"additionalProperties": {
"type": "string"
},
"default": {
"<source-path>": "<target-path>"
}
Expand Down
6 changes: 6 additions & 0 deletions src/tools/OptionsSchema.json
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,9 @@
"sourceFileMap": {
"type": "object",
"description": "Optional source file mappings passed to the debug engine. Example: '{ \"C:\\foo\":\"/home/user/foo\" }'",
"additionalProperties": {
"type": "string"
},
"default": {
"<source-path>": "<target-path>"
}
Expand Down Expand Up @@ -344,6 +347,9 @@
"sourceFileMap": {
"type": "object",
"description": "Optional source file mappings passed to the debug engine. Example: '{ \"C:\\foo\":\"/home/user/foo\" }'",
"additionalProperties": {
"type": "string"
},
"default": {
"<source-path>": "<target-path>"
}
Expand Down

0 comments on commit fa34a83

Please sign in to comment.