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 e4b1c52 commit bc2940bCopy full SHA for bc2940b
src/entrypoints/_shared.ts
@@ -237,7 +237,7 @@ export async function runCLI(entrypoint: string) {
237
chalk.gray(`Nonexistent ${nonexistentType}: ${chalk.whiteBright(nonexistentRepresentation)}`),
238
];
239
240
- if (closestMatches.length) {
+ if (closestMatches.length && nonexistentType === 'subcommand') {
241
messageParts.push(
242
chalk.gray(
243
` Did you mean: ${closestMatches.map((cmd) => chalk.whiteBright(cmd)).join(', ')}?`,
0 commit comments