Skip to content

Commit 080965e

Browse files
mtorpjdalton
authored andcommitted
remove unused cwd
1 parent 311e551 commit 080965e

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/commands/scan/handle-scan-reach.mts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ export async function handleScanReach({
3636
const supportedFilesCResult = await fetchSupportedScanFileNames({ spinner })
3737
if (!supportedFilesCResult.ok) {
3838
await outputScanReach(supportedFilesCResult, {
39-
cwd,
4039
outputKind,
4140
outputPath,
4241
})
@@ -86,5 +85,5 @@ export async function handleScanReach({
8685

8786
spinner.stop()
8887

89-
await outputScanReach(result, { cwd, outputKind, outputPath })
88+
await outputScanReach(result, { outputKind, outputPath })
9089
}

src/commands/scan/output-scan-reach.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export async function outputScanReach(
1212
{
1313
outputKind,
1414
outputPath,
15-
}: { cwd: string; outputKind: OutputKind; outputPath: string },
15+
}: { outputKind: OutputKind; outputPath: string },
1616
): Promise<void> {
1717
if (!result.ok) {
1818
process.exitCode = result.code ?? 1

0 commit comments

Comments
 (0)