Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
liuxingbaoyu committed Sep 12, 2024
1 parent 0406d16 commit 8363cac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/injectCaller.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function supportsCallerOption() {
try {
// Rather than try to match the Babel version, we just see if it throws
// when passed a 'caller' flag, and use that to decide if it is supported.
babel.loadPartialConfig({
babel.loadPartialConfigSync({
caller: undefined,
babelrc: false,
configFile: false,
Expand Down

0 comments on commit 8363cac

Please sign in to comment.