Skip to content

Commit a07b7d0

Browse files
committed
Var name nit
1 parent b21326e commit a07b7d0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,16 +62,16 @@ export async function handleCreateNewScan({
6262
logger.info('Auto generation finished. Proceeding with Scan creation.')
6363
}
6464

65-
const supportedFileNames = await fetchSupportedScanFileNames()
66-
if (!supportedFileNames.ok) {
67-
await outputCreateNewScan(supportedFileNames, outputKind, interactive)
65+
const fileNamesCResult = await fetchSupportedScanFileNames()
66+
if (!fileNamesCResult.ok) {
67+
await outputCreateNewScan(fileNamesCResult, outputKind, interactive)
6868
return
6969
}
7070

7171
const packagePaths = await getPackageFilesForScan(
7272
cwd,
7373
targets,
74-
supportedFileNames.data,
74+
fileNamesCResult.data,
7575
)
7676

7777
const wasValidInput = checkCommandInput(outputKind, {

0 commit comments

Comments
 (0)