Skip to content

Commit dddecf0

Browse files
committed
fix the const
1 parent c740c91 commit dddecf0

File tree

1 file changed

+2
-2
lines changed
  • packages/visual-reporter/scripts

1 file changed

+2
-2
lines changed

packages/visual-reporter/scripts/cli.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ import { copyDirectory } from './utils/fileHandling.js'
1414
async function main() {
1515
//
1616
// Set some initial variables
17-
const filePath = getArgValue('--jsonOutput') ? resolve(process.cwd(), getArgValue('--jsonOutput')) : undefined
18-
const reportPath = getArgValue('--reportFolder') ? resolve(process.cwd(), getArgValue('--reportFolder')) : undefined
17+
let filePath = getArgValue('--jsonOutput') ? resolve(process.cwd(), getArgValue('--jsonOutput')) : undefined
18+
let reportPath = getArgValue('--reportFolder') ? resolve(process.cwd(), getArgValue('--reportFolder')) : undefined
1919
const logLevel = getArgValue('--logLevel')
2020
const __filename = fileURLToPath(import.meta.url)
2121
const __dirname = dirname(__filename)

0 commit comments

Comments
 (0)