Skip to content

Commit 3cd83e9

Browse files
committed
Back out change that landed in main already
1 parent 875eb61 commit 3cd83e9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/utils/meow-with-subcommands.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import type { Options } from 'meow'
99

1010
interface CliAlias {
1111
description: string
12-
hidden?: boolean
1312
argv: readonly string[]
1413
}
1514

@@ -82,7 +81,7 @@ export async function meowWithSubcommands(
8281
...toSortedObject(
8382
Object.fromEntries(
8483
Object.entries(aliases).filter(
85-
entry => !entry[1]?.hidden && !subcommands[entry[1]?.argv[0]!]?.hidden
84+
entry => !subcommands[entry[1]?.argv[0]!]?.hidden
8685
)
8786
)
8887
)

0 commit comments

Comments
 (0)