From 9ec0ae519001cd9e02d43dd550370f7ad2fd2079 Mon Sep 17 00:00:00 2001 From: Lovepreet Singh Date: Mon, 20 Feb 2023 14:23:53 +0000 Subject: [PATCH] Update debug statement to include latest command --- 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 1c4f55c..0ab64ea 100644 --- a/src/internal/cacheUtils.ts +++ b/src/internal/cacheUtils.ts @@ -72,10 +72,10 @@ export async function unlinkFile(filePath: fs.PathLike): Promise { } async function getVersion(app: string, args?: string[]): Promise { - core.debug(`Checking ${app} --version`) let versionOutput = '' typeof args !== 'undefined' ? args : (args = []) args.push('--version') + core.debug(`Checking ${app} ${args.join(' ')}`) try { await exec.exec(`${app}`, args, { ignoreReturnCode: true,