Skip to content

Commit

Permalink
feat(util): add error message log for the if-merge
Browse files Browse the repository at this point in the history
  • Loading branch information
manushak committed Dec 11, 2024
1 parent ce70d12 commit bb284d4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/if-merge/util/args.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ const validateAndParseIfMergeArgs = () => {
return parse<IFMergeArgs>(ARGS, HELP);
} catch (error) {
if (error instanceof Error) {
console.log(error.message);

runHelpCommand('if-merge');
}

Expand Down

0 comments on commit bb284d4

Please sign in to comment.