mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
4667b07cd2
PR-URL: https://github.com/nodejs/node/pull/44710 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com> Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com> Co-authored-by: Geoffrey Booth <webadmin@geoffreybooth.com> Co-authored-by: Michaël Zasso <targos@protonmail.com>
8 lines
169 B
JavaScript
8 lines
169 B
JavaScript
import { runMain } from 'node:module';
|
|
|
|
try { import.meta.resolve('doesnt-matter.mjs') } catch {}
|
|
|
|
runMain();
|
|
|
|
try { import.meta.resolve('doesnt-matter.mjs') } catch {}
|