From 026a4997efeb491db655e2ea0855f74c8c7ba6ec Mon Sep 17 00:00:00 2001 From: YuyaYokoyama8864 Date: Thu, 26 Dec 2024 11:39:11 +0900 Subject: [PATCH 1/3] #1714 fix launch problem --- src/utils/launchUtils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/launchUtils.ts b/src/utils/launchUtils.ts index 53500e20..c3b76efa 100644 --- a/src/utils/launchUtils.ts +++ b/src/utils/launchUtils.ts @@ -71,7 +71,7 @@ export async function resolveLaunchConfigurationForRunner(runner: BaseRunner, te agentArg += ',append=false'; } if (os.platform() === 'win32') { - agentArg = `"${agentArg}"`; + agentArg = `${agentArg}`; } (debugConfiguration.vmArgs as string[]).push(agentArg); } From 409e95bab9c5d4136c9dec5487c94030e5777aae Mon Sep 17 00:00:00 2001 From: YuyaYokoyama8864 Date: Fri, 27 Dec 2024 16:03:18 +0900 Subject: [PATCH 2/3] =?UTF-8?q?#1714=20=E4=B8=8D=E8=A6=81=E3=81=AA?= =?UTF-8?q?=E5=88=A4=E5=AE=9A=E3=82=92=E5=89=8A=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/launchUtils.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/utils/launchUtils.ts b/src/utils/launchUtils.ts index c3b76efa..f76792bb 100644 --- a/src/utils/launchUtils.ts +++ b/src/utils/launchUtils.ts @@ -70,9 +70,6 @@ export async function resolveLaunchConfigurationForRunner(runner: BaseRunner, te if (config?.coverage?.appendResult === false) { agentArg += ',append=false'; } - if (os.platform() === 'win32') { - agentArg = `${agentArg}`; - } (debugConfiguration.vmArgs as string[]).push(agentArg); } From 7a7263aa5d3566c17f828f824067d6f649745bb9 Mon Sep 17 00:00:00 2001 From: YuyaYokoyama8864 Date: Fri, 27 Dec 2024 16:03:37 +0900 Subject: [PATCH 3/3] =?UTF-8?q?#1714=20=E4=B8=8D=E8=A6=81=E3=81=AA?= =?UTF-8?q?=E5=88=A4=E5=AE=9A=E3=81=A8=E6=9C=AA=E4=BD=BF=E7=94=A8=E3=81=AE?= =?UTF-8?q?if=E3=82=92=E5=89=8A=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/launchUtils.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/utils/launchUtils.ts b/src/utils/launchUtils.ts index f76792bb..e968ded7 100644 --- a/src/utils/launchUtils.ts +++ b/src/utils/launchUtils.ts @@ -2,7 +2,6 @@ // Licensed under the MIT license. import * as path from 'path'; -import * as os from 'os'; import { DebugConfiguration, TestItem, TestRunProfileKind } from 'vscode'; import { sendError, sendInfo } from 'vscode-extension-telemetry-wrapper'; import { JavaTestRunnerDelegateCommands } from '../constants';