Skip to content

Commit 0219b42

Browse files
committed
✏️ add stderr for more informative error information
1 parent c90d122 commit 0219b42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/scripts/validate.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ function validate({ args = [] }) {
2525
});
2626

2727
listr.run().catch(error => {
28-
console.error(error.stdout || error);
28+
console.error(`${error.stdout}\n${error.stderr}`);
2929
process.exit(error.code || 1);
3030
});
3131
}

0 commit comments

Comments
 (0)