Fix broken try/catch in saveAdditionalCache and rebuild dist

The autofix commits dropped the `} catch (error) {` line in
saveAdditionalCache, leaving a `try` block without a catch and a dangling
`error` reference, which broke compilation and Prettier. Restore the catch
clause, reformat, and regenerate the dist bundles.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Bruno Borges
2026-07-09 21:16:37 -04:00
parent 7b72cee2af
commit 90f45856e1
3 changed files with 10 additions and 13 deletions

View File

@@ -327,7 +327,10 @@ async function saveAdditionalCache(
);
return;
}
core.info(`${additionalCache.name} cache saved with the key: ${primaryKey}`);
core.info(
`${additionalCache.name} cache saved with the key: ${primaryKey}`
);
} catch (error) {
const err = error as Error;
if (err.name === cache.ReserveCacheError.name) {