Skip to content

Commit

Permalink
fix: fixed sign logic (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
Two-Hearts authored Aug 9, 2023
1 parent 8f0d515 commit cb70f94
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions dist/sign.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/sign.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/sign.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@ async function setupPlugin() {
});
} catch (e: unknown) {
if (e instanceof Error) {
core.setFailed(e);
throw e;
} else {
core.setFailed('Unknown error during setting up notation signing plugin');
throw new Error("Unknown error during setting up notation signing plugin");
}
}
}
Expand Down

0 comments on commit cb70f94

Please sign in to comment.