From 964682b5d49e779cf41130cbb68fde83a1563ca7 Mon Sep 17 00:00:00 2001 From: Sampark Sharma Date: Thu, 17 Nov 2022 07:34:07 +0000 Subject: [PATCH] Fix test --- packages/cache/__tests__/tar.test.ts | 2 +- packages/cache/src/internal/cacheUtils.ts | 2 +- packages/cache/src/internal/constants.ts | 2 +- packages/cache/src/internal/tar.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/cache/__tests__/tar.test.ts b/packages/cache/__tests__/tar.test.ts index a6cd1725..31f9bd5e 100644 --- a/packages/cache/__tests__/tar.test.ts +++ b/packages/cache/__tests__/tar.test.ts @@ -280,4 +280,4 @@ test('gzip list tar', async () => { .concat(IS_MAC ? ['--delay-directory-restore'] : []), {cwd: undefined} ) -}) \ No newline at end of file +}) diff --git a/packages/cache/src/internal/cacheUtils.ts b/packages/cache/src/internal/cacheUtils.ts index 9d4e4c3d..64fef08a 100644 --- a/packages/cache/src/internal/cacheUtils.ts +++ b/packages/cache/src/internal/cacheUtils.ts @@ -141,4 +141,4 @@ export function isGhes(): boolean { process.env['GITHUB_SERVER_URL'] || 'https://github.com' ) return ghUrl.hostname.toUpperCase() !== 'GITHUB.COM' -} \ No newline at end of file +} diff --git a/packages/cache/src/internal/constants.ts b/packages/cache/src/internal/constants.ts index 35225b6c..e61b46f4 100644 --- a/packages/cache/src/internal/constants.ts +++ b/packages/cache/src/internal/constants.ts @@ -23,4 +23,4 @@ export const DefaultRetryDelay = 5000 export const SocketTimeout = 5000 // The default path of GNUtar on hosted Windows runners -export const GnuTarPathOnWindows = `${process.env['PROGRAMFILES']}\\Git\\usr\\bin\\tar.exe` \ No newline at end of file +export const GnuTarPathOnWindows = `${process.env['PROGRAMFILES']}\\Git\\usr\\bin\\tar.exe` diff --git a/packages/cache/src/internal/tar.ts b/packages/cache/src/internal/tar.ts index 2c07dc81..42692008 100644 --- a/packages/cache/src/internal/tar.ts +++ b/packages/cache/src/internal/tar.ts @@ -144,4 +144,4 @@ export async function createTar( manifestFilename ] await execTar(args, archiveFolder) -} \ No newline at end of file +}