From 6fb8e7b25e91a03ef56a94fbba7d73fce3d5d88a Mon Sep 17 00:00:00 2001 From: Lovepreet Singh Date: Mon, 20 Feb 2023 18:50:26 +0000 Subject: [PATCH] Fix failing windows test --- src/internal/cacheUtils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/internal/cacheUtils.ts b/src/internal/cacheUtils.ts index 8ccae2f..ea69b7c 100644 --- a/src/internal/cacheUtils.ts +++ b/src/internal/cacheUtils.ts @@ -79,7 +79,7 @@ async function getVersion( additionalArgs.push('--version') core.debug(`Checking ${app} ${additionalArgs.join(' ')}`) try { - await exec.exec(`${app}`, additionalArgs, { + await exec.exec(`${app} `, additionalArgs, { ignoreReturnCode: true, silent: true, listeners: {