From 607c92fb2b72882d35ea5028e0c651de18853e06 Mon Sep 17 00:00:00 2001 From: CrazyMax <1951866+crazy-max@users.noreply.github.com> Date: Wed, 7 Jan 2026 16:15:39 +0100 Subject: [PATCH] fix lint issues Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com> --- src/main.ts | 2 +- src/state-helper.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.ts b/src/main.ts index 45d9668..bf57647 100644 --- a/src/main.ts +++ b/src/main.ts @@ -230,7 +230,7 @@ actionsToolkit.run( await core.group(`Removing temp folder ${stateHelper.tmpDir}`, async () => { try { fs.rmSync(stateHelper.tmpDir, {recursive: true}); - } catch (e) { + } catch { core.warning(`Failed to remove temp folder ${stateHelper.tmpDir}`); } }); diff --git a/src/state-helper.ts b/src/state-helper.ts index dbbcfc7..88dac0c 100644 --- a/src/state-helper.ts +++ b/src/state-helper.ts @@ -52,7 +52,7 @@ export function setSummaryInputs(inputs: Inputs) { // eslint-disable-next-line @typescript-eslint/no-unused-vars const [skey, _] = Build.parseSecretKvp(secret, true); secretKeys.push(skey); - } catch (err) { + } catch { // ignore invalid secret } }