Skip to content

Commit

Permalink
Fix broken dynamic import
Browse files Browse the repository at this point in the history
  • Loading branch information
steve-taylor committed Apr 4, 2024
1 parent f41d75f commit dce61c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xunit-viewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default async (args) => {

const results = args.results
if (!fs.existsSync(results)) {
const { showHelp } = import('./src/cli/args.js')
const { showHelp } = await import('./src/cli/args.js')
showHelp()
console.log(logger.error('\n The folder/file:'), logger.file(results), logger.error('does not exist'))
if (!args.script) process.exit(1)
Expand Down

0 comments on commit dce61c6

Please sign in to comment.