From 11913790197477872ac5579de7cc3e73c456f410 Mon Sep 17 00:00:00 2001
From: boxofyellow <54955040+boxofyellow@users.noreply.github.com>
Date: Fri, 26 Jan 2024 13:10:01 -0800
Subject: [PATCH] fromm running npm run all
---
badges/coverage.svg | 2 +-
dist/index.js | 3 ++-
src/main.ts | 2 +-
3 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/badges/coverage.svg b/badges/coverage.svg
index 6d43479..abd228b 100644
--- a/badges/coverage.svg
+++ b/badges/coverage.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/dist/index.js b/dist/index.js
index a5fa348..379212e 100644
--- a/dist/index.js
+++ b/dist/index.js
@@ -75104,7 +75104,8 @@ async function run(pathInput) {
}
catch (error) {
// Fail the workflow run if an error occurs
- // if (error instanceof Error) core.setFailed(error.message)
+ if (error instanceof Error)
+ core.setFailed(error.message);
}
finally {
// Clean up any temporary directories that exist
diff --git a/src/main.ts b/src/main.ts
index 31f19c9..4fbf8bb 100644
--- a/src/main.ts
+++ b/src/main.ts
@@ -111,7 +111,7 @@ export async function run(pathInput: string): Promise {
core.setOutput('package-manifest-sha', `sha256:${manifestHash}`)
} catch (error) {
// Fail the workflow run if an error occurs
- // if (error instanceof Error) core.setFailed(error.message)
+ if (error instanceof Error) core.setFailed(error.message)
} finally {
// Clean up any temporary directories that exist
for (const tmpDir of tmpDirs) {