Skip to content

Commit 8078665

Browse files
committed
esm: remove unnecessary null coalescing operator
1 parent 9457af9 commit 8078665

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/modules/esm/module_job.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ const getUndefinedCJSGlobalLike = (errorMessage) =>
6565
ArrayPrototypeFind(
6666
CJSGlobalLike,
6767
(globalLike) => errorMessage === `${globalLike} is not defined`,
68-
) ?? null;
68+
);
6969

7070

7171
/**

0 commit comments

Comments
 (0)