From 2156023845d789711e54c482e6014aaf4ccfebdd Mon Sep 17 00:00:00 2001 From: Paula Camargo Date: Thu, 4 Aug 2022 14:31:35 -0700 Subject: [PATCH 1/3] Update args type --- package.json | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 71d7f1834afe..1002ff9ba4eb 100644 --- a/package.json +++ b/package.json @@ -1198,12 +1198,9 @@ "launch": { "properties": { "args": { - "default": [], - "description": "Command line arguments passed to the program", - "items": { - "type": "string" - }, - "type": "array" + "default": "", + "description": "Command line arguments passed to the program. (not supported for `internalConsole`)", + "type": "string" }, "autoReload": { "default": {}, From 151548fc02a561ee11cc0db38e666c3edebb6c7a Mon Sep 17 00:00:00 2001 From: paulacamargo25 Date: Tue, 30 Aug 2022 11:42:32 -0700 Subject: [PATCH 2/3] Update args type --- package.json | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 1002ff9ba4eb..8667a3a56560 100644 --- a/package.json +++ b/package.json @@ -1200,7 +1200,13 @@ "args": { "default": "", "description": "Command line arguments passed to the program. (not supported for `internalConsole`)", - "type": "string" + "items": { + "type": "string" + }, + "type": [ + "array", + "string" + ] }, "autoReload": { "default": {}, From 6cf8941ace7efc4c47bfa7a6d36b9adb0a76c609 Mon Sep 17 00:00:00 2001 From: paulacamargo25 Date: Tue, 30 Aug 2022 11:51:27 -0700 Subject: [PATCH 3/3] Update default value --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index c52b7d9eef4f..77679937b6bb 100644 --- a/package.json +++ b/package.json @@ -1194,8 +1194,8 @@ "launch": { "properties": { "args": { - "default": "", - "description": "Command line arguments passed to the program. (not supported for `internalConsole`)", + "default": [], + "description": "Command line arguments passed to the program.", "items": { "type": "string" },