Skip to content

Commit

Permalink
formatter.error accepts an array of strings
Browse files Browse the repository at this point in the history
  • Loading branch information
marclefrancois committed Mar 5, 2024
1 parent 990cb78 commit 723fd22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/src/services/hook-runner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export default class HookRunner {
const output = error.stderr.toString();

if (output.length > 0) {
formatter.error(hook, output);
formatter.error(hook, [output]);
} else {
formatter.error(hook, [`Exit status: ${error.status}`]);
}
Expand Down

0 comments on commit 723fd22

Please sign in to comment.