Skip to content

Commit

Permalink
fix: path.resolve changes in node 23.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
JLHwung authored and nicolo-ribaudo committed Oct 23, 2024
1 parent bfa56c4 commit 4360ee5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/babel-core/test/targets.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ describe("browserslist", () => {
loadOptionsSync({
cwd: join(cwd, "fixtures", "targets"),
filename: "./node_modules/dep/test.js",
babelrcRoots: ["./node_modules/dep/"],
babelrcRoots: ["./node_modules/dep"],
}).targets,
).toEqual({ edge: "14.0.0" });
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ function normalizeOutput(
) {
const dir = path.resolve(
path.dirname(fileURLToPath(import.meta.url)),
"../../../",
"../../..",
);
const symbol = "<CWD>";
let result = code
Expand Down

0 comments on commit 4360ee5

Please sign in to comment.