Skip to content

Commit

Permalink
fix: Fix failing build due to missing catch type
Browse files Browse the repository at this point in the history
  • Loading branch information
jontze committed Aug 29, 2021
1 parent da0f819 commit 0f795bc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import * as gh from "@actions/github";
import * as core from "@actions/core";
import { MdBook } from "./mdbook/MdBook";
import { Linkcheck } from "./mdbook/plugins/Linkcheck";
Expand All @@ -20,7 +19,7 @@ const run = async () => {
(async (): Promise<void> => {
try {
await run();
} catch (err) {
} catch (err: any) {
core.setFailed(`${err.message}`);
}
})();

0 comments on commit 0f795bc

Please sign in to comment.