Skip to content

Commit 20705a9

Browse files
committed
Add more debug to ghsa resolving
1 parent fbf2ca7 commit 20705a9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/commands/fix/coana-fix.mts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { debugDir } from '@socketsecurity/registry/lib/debug'
1+
import { debugDir, debugFn } from '@socketsecurity/registry/lib/debug'
22

33
import { handleApiCall } from '../../utils/api.mts'
44
import { cmdFlagValueToArray } from '../../utils/cmd.mts'
@@ -68,6 +68,7 @@ export async function coanaFix(
6868

6969
let ids = ghsas
7070
if (ids.length === 1 && ids[0] === 'auto') {
71+
debugFn('notice', 'resolve: GitHub security alerts.')
7172
const foundIdsCResult = tarHash
7273
? await spawnCoana(
7374
[
@@ -88,6 +89,7 @@ export async function coanaFix(
8889
foundIdsCResult.data as string,
8990
)?.[0],
9091
)
92+
debugDir('inspect', { GitHubSecurityAlerts: ids })
9193
}
9294
}
9395

0 commit comments

Comments
 (0)