diff --git a/__tests__/restore.test.ts b/__tests__/restore.test.ts index c96a2d6..05fed55 100644 --- a/__tests__/restore.test.ts +++ b/__tests__/restore.test.ts @@ -136,7 +136,7 @@ test("restore with no cache found", async () => { expect(failedMock).toHaveBeenCalledTimes(0); expect(infoMock).toHaveBeenCalledWith( - `Cache not found for input keys: ${key}.` + `Cache not found for input keys: ${key}` ); }); @@ -195,7 +195,7 @@ test("restore with restore keys and no cache found", async () => { expect(failedMock).toHaveBeenCalledTimes(0); expect(infoMock).toHaveBeenCalledWith( - `Cache not found for input keys: ${key}, ${restoreKey}.` + `Cache not found for input keys: ${key}, ${restoreKey}` ); }); diff --git a/src/restore.ts b/src/restore.ts index 4911e7e..f180c2b 100644 --- a/src/restore.ts +++ b/src/restore.ts @@ -61,9 +61,7 @@ async function run(): Promise { try { const cacheEntry = await cacheHttpClient.getCacheEntry(keys); if (!cacheEntry?.archiveLocation) { - core.info( - `Cache not found for input keys: ${keys.join(", ")}.` - ); + core.info(`Cache not found for input keys: ${keys.join(", ")}`); return; }