File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1414 * --summary Show only coverage summary (hide detailed output)
1515 */
1616
17- import { parseArgs } from 'node:util'
18-
1917import { isQuiet , isVerbose } from '@socketsecurity/lib/argv/flags'
18+ import { parseArgs } from '@socketsecurity/lib/argv/parse'
2019import { logger } from '@socketsecurity/lib/logger'
2120
2221import { runCommandQuiet } from './utils/run-command.mjs'
Original file line number Diff line number Diff line change 33 * Provides consistent helpers for running commands and logging.
44 */
55
6- import { parseArgs as nodeParseArgs } from 'node:util'
76import path from 'node:path'
87import { fileURLToPath } from 'node:url'
98
9+ import { parseArgs } from '@socketsecurity/lib/argv/parse'
10+
1011// Platform detection
1112export const WIN32 = process . platform === 'win32'
1213export const MACOS = process . platform === 'darwin'
@@ -76,7 +77,7 @@ export function parseScriptArgs(options = {}) {
7677 ...options ,
7778 }
7879
79- return nodeParseArgs ( {
80+ return parseArgs ( {
8081 options : defaultOptions ,
8182 allowPositionals : true ,
8283 } )
You can’t perform that action at this time.
0 commit comments