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`