From 34526e53bb766167904b5542f0e3d556424cd22c 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 --- src/internal/cacheUtils.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/internal/cacheUtils.ts b/src/internal/cacheUtils.ts index f2eb436..c2ace52 100644 --- a/src/internal/cacheUtils.ts +++ b/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}`) }