@@ -4,16 +4,9 @@ import { joinAnd } from '@socketsecurity/lib/arrays'
44import { debug , debugDir } from '@socketsecurity/lib/debug'
55import { logger } from '@socketsecurity/lib/logger'
66import { pluralize } from '@socketsecurity/lib/words'
7-
8- import {
9- checkCiEnvVars ,
10- getCiEnvInstructions ,
11- getFixEnv ,
12- } from './env-helpers.mts'
13- import { getSocketFixBranchName , getSocketFixCommitMessage } from './git.mts'
14- import { getSocketFixPrs , openSocketFixPr } from './pull-request.mts'
157import { FLAG_DRY_RUN } from '../../constants/cli.mts'
168import { GQL_PR_STATE_OPEN } from '../../constants/github.mts'
9+ import type { CResult } from '../../types.mts'
1710import { spawnCoanaDlx } from '../../utils/dlx/spawn.mjs'
1811import { getErrorCause } from '../../utils/error/errors.mjs'
1912import { getPackageFilesForScan } from '../../utils/fs/path-resolve.mjs'
@@ -36,9 +29,14 @@ import { cmdFlagValueToArray } from '../../utils/process/cmd.mts'
3629import { handleApiCall } from '../../utils/socket/api.mjs'
3730import { setupSdk } from '../../utils/socket/sdk.mjs'
3831import { fetchSupportedScanFileNames } from '../scan/fetch-supported-scan-file-names.mts'
39-
32+ import {
33+ checkCiEnvVars ,
34+ getCiEnvInstructions ,
35+ getFixEnv ,
36+ } from './env-helpers.mts'
37+ import { getSocketFixBranchName , getSocketFixCommitMessage } from './git.mts'
38+ import { getSocketFixPrs , openSocketFixPr } from './pull-request.mts'
4039import type { FixConfig } from './types.mts'
41- import type { CResult } from '../../types.mts'
4240
4341export async function coanaFix (
4442 fixConfig : FixConfig ,
@@ -392,6 +390,7 @@ export async function coanaFix(
392390 const prRef = `PR #${ data . number } `
393391
394392 logger . success ( `Opened ${ prRef } for ${ ghsaId } .` )
393+ logger . info ( `PR URL: ${ data . html_url } ` )
395394
396395 if ( autopilot ) {
397396 logger . indent ( )
0 commit comments