Skip to content

Commit

Permalink
fix: add debug log at dynamic import (#258)
Browse files Browse the repository at this point in the history
  • Loading branch information
kazupon committed May 12, 2023
1 parent 3a26656 commit c3fbb96
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/commands/infuse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,9 @@ function writeExternalLocaleMessages (meta: MetaExternalLocaleMessages[], pretti
function loadFormat () {
let format
try {
debug('load @intlify/cli ...')
format = require('@intlify/cli').format
debug('... loaded @intlify/cli', format)
} catch (e) {
debug('@intlify/cli format loading error', e)
}
Expand Down

0 comments on commit c3fbb96

Please sign in to comment.