From da6701aea96a11ec5b7de1018b4ac882091702c5 Mon Sep 17 00:00:00 2001 From: Lovepreet Singh Date: Wed, 13 Jul 2022 13:37:49 +0000 Subject: [PATCH] Fix linting for changes --- packages/cache/src/internal/cacheUtils.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/cache/src/internal/cacheUtils.ts b/packages/cache/src/internal/cacheUtils.ts index f2eb436a..c2ace526 100644 --- a/packages/cache/src/internal/cacheUtils.ts +++ b/packages/cache/src/internal/cacheUtils.ts @@ -52,9 +52,9 @@ export async function resolvePaths(patterns: string[]): Promise { .replace(new RegExp(`\\${path.sep}`, 'g'), '/') core.debug(`Matched: ${relativeFile}`) // Paths are made relative so the tar entries are all relative to the root of the workspace. - if (relativeFile === "") { + if (relativeFile === '') { // path.relative returns empty string if workspace and file are equal - paths.push(".") + paths.push('.') } else { paths.push(`${relativeFile}`) }