File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ import meow from 'meow'
22import semver from 'semver'
33import colors from 'yoctocolors-cjs'
44
5+ import { joinAnd } from '@socketsecurity/registry/lib/arrays'
56import { logger } from '@socketsecurity/registry/lib/logger'
67import { toSortedObject } from '@socketsecurity/registry/lib/objects'
78import { normalizePath } from '@socketsecurity/registry/lib/path'
@@ -22,7 +23,6 @@ import { tildify } from './tildify.mts'
2223
2324import type { MeowFlags } from '../flags.mts'
2425import type { Options , Result } from 'meow'
25- import { joinAnd } from '@socketsecurity/registry/lib/arrays'
2626
2727interface CliAlias {
2828 description : string
@@ -296,7 +296,11 @@ export async function meowWithSubcommands(
296296 'Found commands in the list that were not marked as public or not defined at all:' ,
297297 // Node < 22 will print 'Object (n)' before the array. So to have
298298 // consistent test snapshots we use joinAnd.
299- joinAnd ( Array . from ( commands ) . sort ( naturalCompare ) . map ( c => `'${ c } '` ) ) ,
299+ joinAnd (
300+ Array . from ( commands )
301+ . sort ( naturalCompare )
302+ . map ( c => `'${ c } '` ) ,
303+ ) ,
300304 )
301305 }
302306
You can’t perform that action at this time.
0 commit comments