Skip to content

Commit 7d289ca

Browse files
committed
Add back logging of local files found in scan create command
1 parent e82a825 commit 7d289ca

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/commands/scan/handle-create-new-scan.mts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { debugDir, debugFn } from '@socketsecurity/registry/lib/debug'
1+
import { debugDir } from '@socketsecurity/registry/lib/debug'
22
import { logger } from '@socketsecurity/registry/lib/logger'
33
import { pluralize } from '@socketsecurity/registry/lib/words'
44

@@ -95,10 +95,10 @@ export async function handleCreateNewScan({
9595
return
9696
}
9797

98-
debugFn(
99-
'notice',
100-
`found: ${packagePaths.length} local ${pluralize('file', packagePaths.length)}`,
98+
logger.success(
99+
`Found ${packagePaths.length} local ${pluralize('file', packagePaths.length)}`,
101100
)
101+
102102
debugDir('inspect', { packagePaths })
103103

104104
if (readOnly) {

0 commit comments

Comments
 (0)