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 48c6fba
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
@@ -1,5 +1,6 @@
import fs from 'fs'
import path from 'path'
import { showHelp } from './src/cli/args.js'
import getDescription from './src/cli/get-description.js'
import getFiles from './src/cli/get-files.js'
import getSuites from './src/cli/get-suites.js'
Expand All @@ -14,7 +15,6 @@ export default async (args) => {

const results = args.results
if (!fs.existsSync(results)) {
const { showHelp } = 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 48c6fba

Please sign in to comment.