mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
Trim off irrelevant internal stack frames for require(esm) warnings so it's easier to locate where the call comes from when --trace-warnings is used. PR-URL: https://github.com/nodejs/node/pull/55496 Backport-PR-URL: https://github.com/nodejs/node/pull/55217 Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Paolo Insogna <paolo@cowtech.it> Refs: https://github.com/nodejs/node/issues/52697
2 lines
26 B
JavaScript
2 lines
26 B
JavaScript
require('./message.mjs');
|