From 7441dc5e59f08f0b27626cb5be1c32062413c990 Mon Sep 17 00:00:00 2001 From: Sampark Sharma Date: Mon, 14 Nov 2022 10:25:17 +0000 Subject: [PATCH] Fix tests --- packages/cache/src/internal/tar.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cache/src/internal/tar.ts b/packages/cache/src/internal/tar.ts index fab9a925..8f548bd1 100644 --- a/packages/cache/src/internal/tar.ts +++ b/packages/cache/src/internal/tar.ts @@ -11,7 +11,7 @@ async function getTarPath( args: string[], compressionMethod: CompressionMethod ): Promise { - var tarPath = await io.which('tar', true) + let tarPath = await io.which('tar', true) switch (process.platform) { case 'win32': { const gnuTar = `${process.env['PROGRAMFILES']}\\Git\\usr\\bin\\tar.exe`