Skip to content

Commit 9be1761

Browse files
committed
chore(test): mark 'npx' literal in with-subcommands stubs as allowed
The bucketed-command stub object includes the literal command name 'npx' as a key. Add the canonical inline marker so the pre-commit security scanner stops flagging it as an actual npx invocation.
1 parent 823ea64 commit 9be1761

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/cli/test/unit/utils/cli/with-subcommands.test.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -860,7 +860,7 @@ describe('meow-with-subcommands', () => {
860860
logout: stub('logout'),
861861
manifest: stub('manifest'),
862862
npm: stub('npm'),
863-
npx: stub('npx'),
863+
npx: stub('npx'), // socket-hook: allow npx
864864
nuget: stub('nuget'),
865865
optimize: stub('optimize'),
866866
organization: stub('organization'),

0 commit comments

Comments
 (0)