xunit-viewer
xunit-viewer copied to clipboard
Fix broken dynamic import
The dynamic import should have used await
so it would destructure the imported module rather than the Promise
returned by import('./src/cli/args.js')
.
Rather than add await
, I converted it to a static import because the dynamic import seemed unnecessary.
@steve-taylor could you elaborate on why it is broken?