Skip to content

Commit 0553d32

Browse files
committed
Remove warning detail only relevant when thenables from argParsers are awaited
Must be reverted when merged with tj#1913 or tj#1915
1 parent ac955dc commit 0553d32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/command.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1229,7 +1229,7 @@ Call on top-level command instead`);
12291229
// callback might return a promise
12301230
const result = fn();
12311231
if (!PRODUCTION && !this._asyncParsing && isThenable(result)) {
1232-
console.warn(`.parse() is incompatible with async argParsers, hooks and actions.
1232+
console.warn(`.parse() is incompatible with async hooks and actions.
12331233
Use .parseAsync() instead.`);
12341234
}
12351235
return result;

0 commit comments

Comments
 (0)