Skip to content

Commit 5d45e25

Browse files
committed
updated descrition for socket fix option --debug
1 parent 25eb430 commit 5d45e25

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/commands/fix/cmd-fix.integration.test.mts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
import { existsSync, promises as fs } from 'node:fs'
1+
import { promises as fs } from 'node:fs'
22
import { tmpdir } from 'node:os'
33
import path from 'node:path'
44

5-
import trash from 'trash'
65
import { describe, expect } from 'vitest'
76

87
import constants, {
@@ -167,7 +166,7 @@ describe('socket fix', async () => {
167166
--all Process all discovered vulnerabilities in local mode. Cannot be used with --id.
168167
--autopilot Enable auto-merge for pull requests that Socket opens.
169168
See GitHub documentation (https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/managing-auto-merge-for-pull-requests-in-your-repository) for managing auto-merge for pull requests in your repository.
170-
--debug Enable debug logging.
169+
--debug Enable debug logging in the Coana-based Socket Fix CLI invocation.
171170
--ecosystems Limit fix analysis to specific ecosystems. Can be provided as comma separated values or as multiple flags. Defaults to all ecosystems.
172171
--exclude Exclude workspaces matching these glob patterns. Can be provided as comma separated values or as multiple flags
173172
--fix-version Override the version of @coana-tech/cli used for fix analysis. Default: <coana-version>.

src/commands/fix/cmd-fix.mts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,8 @@ Available styles:
150150
debug: {
151151
type: 'boolean',
152152
default: false,
153-
description: 'Enable debug logging.',
153+
description:
154+
'Enable debug logging in the Coana-based Socket Fix CLI invocation.',
154155
shortFlag: 'd',
155156
},
156157
ecosystems: {

0 commit comments

Comments
 (0)