From 7c15bf6f4020cd866eff61b63b74f798b0128b8f 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 --- packages/cache/src/internal/cacheUtils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cache/src/internal/cacheUtils.ts b/packages/cache/src/internal/cacheUtils.ts index 8ccae2f7..ea69b7cc 100644 --- a/packages/cache/src/internal/cacheUtils.ts +++ b/packages/cache/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: {