Skip to content

Commit

Permalink
Merge pull request #27 from jonas-lomholdt/upgrade-to-node-16
Browse files Browse the repository at this point in the history
Fix build error
  • Loading branch information
cschleiden authored Oct 20, 2022
2 parents 2b6a2b7 + 9395e17 commit 6aaebc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ async function run() {
);
console.log(`Replaced tokens in files: ${result}`);
} catch (error) {
core.setFailed(error.message);
if (error instanceof Error) core.setFailed(error.message);
}
}

Expand Down

0 comments on commit 6aaebc4

Please sign in to comment.