From 82669f7b8f4d2305a97654a33ecf4fe4c0fec793 Mon Sep 17 00:00:00 2001 From: Kleshzz Date: Sat, 9 May 2026 10:57:27 +0300 Subject: [PATCH] Fix TS 6.0 compatibility issues --- src/restore.ts | 2 +- src/save.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/restore.ts b/src/restore.ts index 2e680bc..6e2cd73 100644 --- a/src/restore.ts +++ b/src/restore.ts @@ -4,7 +4,7 @@ import { cleanTargetDir } from "./cleanup"; import { CacheConfig } from "./config"; import { getCacheProvider, reportError } from "./utils"; -process.on("uncaughtException", (e) => { +process.on("uncaughtException", (e: any) => { core.error(e.message); if (e.stack) { core.error(e.stack); diff --git a/src/save.ts b/src/save.ts index 1df7f1d..b2690d9 100644 --- a/src/save.ts +++ b/src/save.ts @@ -5,7 +5,7 @@ import { cleanBin, cleanGit, cleanRegistry, cleanTargetDir } from "./cleanup"; import { CacheConfig, isCacheUpToDate } from "./config"; import { getCacheProvider, reportError } from "./utils"; -process.on("uncaughtException", (e) => { +process.on("uncaughtException", (e: any) => { core.error(e.message); if (e.stack) { core.error(e.stack);