Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixup: remove log
  • Loading branch information
GeoffreyBooth committed Mar 28, 2022
commit ad57f42f18f01e0249a2e5deac27513cc3310a2d
1 change: 0 additions & 1 deletion lib/internal/modules/esm/loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ class ESMLoader {
translators = translators;

constructor(isInternal = false) {
console.log({ isInternal })
if (isInternal) return;

if (getOptionValue('--experimental-loader')) {
Expand Down
2 changes: 0 additions & 2 deletions test/es-module/test-esm-experimental-warnings.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ for (
]
) {
const input = `import ${JSON.stringify(fileurl("https://github.com/nodejs/node/pull/42314/commits/'es-module-loaders','module-named-exports.mjs'"))}`;
console.log({ input })
const child = spawn(execPath, [
arg,
'--input-type=module',
Expand All @@ -29,7 +28,6 @@ console.log({ input })
child.stdout.setEncoding('utf8');
child.stdout.on('data', (data) => { stdout += data; });
child.on('close', mustCall((code, signal) => {
console.log({ experiment, code, signal, stderr, stdout })
strictEqual(code, 0);
strictEqual(signal, null);
match(stderr, /ExperimentalWarning/);
Expand Down