Skip to content

Commit d31c460

Browse files
Change default value for 'processId'
If you delete and re-add the "processId" field it would give a default value of: "processId": "" Which might tempt someone to change it to: "processId": "1234" Which is wrong, because processId is an integer rather than a string. But this distinction is pretty subtle to folks who don't deal with json every day. The default value to 0 to remove the temptation.
1 parent 5285c9c commit d31c460

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@
292292
"processId": {
293293
"type": "integer",
294294
"description": "The process id to attach to. If this is used, 'processName' should not be used.",
295-
"default": ""
295+
"default": 0
296296
},
297297
"sourceFileMap": {
298298
"type": "object",

0 commit comments

Comments
 (0)