We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71f4b25 commit b25f63eCopy full SHA for b25f63e
bin/tldr
@@ -112,8 +112,9 @@ if (program.list) {
112
if (p === null) {
113
program.outputHelp();
114
process.exitCode = 1;
115
+} else {
116
+ p.catch((err) => {
117
+ console.error(err);
118
+ process.exitCode = 1;
119
+ });
120
}
-p.catch((err) => {
- console.error(err);
- process.exitCode = 1;
-});
0 commit comments