Skip to content

Commit

Permalink
Fix Node.js 6 CI (#16040)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolo-ribaudo committed Oct 13, 2023
1 parent f9ec50c commit 2a8c6df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/babel-core/test/errors-stacks.js
Expand Up @@ -44,7 +44,7 @@ function expectError(run) {
// TODO(Babel 8): Delete this code
{
// Node.js <= 10
stack = replaceAll(stack, "Object.parseSync", "Module.parseSync");
stack = stack.replace(/(?:Object|undefined)(?=\.parseSync)/g, "Module");
stack = stack.replace(
/(?:run|Object\.<anonymous>) \((<CWD>[^)]+)\)/g,
"$1",
Expand Down

0 comments on commit 2a8c6df

Please sign in to comment.