Skip to content

Commit 3d912f9

Browse files
committed
Add coana debug
1 parent 7b0d82b commit 3d912f9

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/commands/fix/handle-fix.mts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { debugFn } from '@socketsecurity/registry/lib/debug'
12
import { logger } from '@socketsecurity/registry/lib/logger'
23
import { pluralize } from '@socketsecurity/registry/lib/words'
34

@@ -57,6 +58,10 @@ export async function handleFix(
5758
)
5859
ghsasCount = ghsas.length
5960
} else {
61+
debugFn('coana fail:', {
62+
message: autoCResult.message,
63+
cause: autoCResult.cause,
64+
})
6065
ghsas = []
6166
ghsasCount = 0
6267
}

0 commit comments

Comments
 (0)