Skip to content

Commit

Permalink
Use ESold in babel.config.json
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolo-ribaudo committed Feb 4, 2021
1 parent fb37354 commit bbf3493
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ function pluginPackageJsonMacro({ types: t }) {
try {
pkg = fs.readFileSync(pathUtils.join(dir, "package.json"), "utf8");
break;
} catch {}
} catch (_) {}

const prev = dir;
dir = pathUtils.resolve(dir, "..");
Expand Down

0 comments on commit bbf3493

Please sign in to comment.