mirror of
https://github.com/mirego/accent.git
synced 2024-09-11 10:55:28 +03:00
formatter.error accepts an array of strings (#418)
This commit is contained in:
parent
990cb78c29
commit
c61e9a5d8c
@ -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}`]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user