Loading __tests__/restore.test.ts +2 −2 Changes for __tests__/restore.test.ts: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -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}` ); }); Loading Loading @@ -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}` ); }); Loading src/restore.ts +1 −3 Changes for src/restore.ts: 1 added line, 3 removed lines. Original line number Diff line number Diff line Loading @@ -61,9 +61,7 @@ async function run(): Promise<void> { 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; } Loading Loading
__tests__/restore.test.ts +2 −2 Changes for __tests__/restore.test.ts: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -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}` ); }); Loading Loading @@ -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}` ); }); Loading
src/restore.ts +1 −3 Changes for src/restore.ts: 1 added line, 3 removed lines. Original line number Diff line number Diff line Loading @@ -61,9 +61,7 @@ async function run(): Promise<void> { 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; } Loading