Skip to content

Commit 0724d87

Browse files
authored
Merge branch 'main' into dependabot/npm_and_yarn/form-data-4.0.4
2 parents b644369 + ffd0b49 commit 0724d87

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "socket",
3-
"version": "1.0.66",
3+
"version": "1.0.67",
44
"description": "CLI for Socket.dev",
55
"homepage": "https://github.com/SocketDev/socket-cli",
66
"license": "MIT",

src/commands/fix/npm-fix.mts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,13 @@ async function install(
3232
__proto__: null,
3333
...options,
3434
} as InstallOptions
35+
const useDebug = isDebug('stdio')
3536
const args = [
3637
'--ignore-scripts',
3738
'--no-audit',
3839
'--no-fund',
3940
'--no-progress',
40-
'--no-save',
41-
'--silent',
41+
...(useDebug ? [] : ['--silent']),
4242
...(extraArgs ?? []),
4343
]
4444
const quotedCmd = `\`${pkgEnvDetails.agent} install ${args.join(' ')}\``
@@ -52,7 +52,7 @@ async function install(
5252
await runAgentInstall(pkgEnvDetails, {
5353
args,
5454
spinner,
55-
stdio: isDebug('stdio') ? 'inherit' : 'ignore',
55+
stdio: useDebug ? 'inherit' : 'ignore',
5656
})
5757
} catch (e) {
5858
debugFn('error', `caught: ${quotedCmd} failed`)

0 commit comments

Comments
 (0)