We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36db7df commit c7931bdCopy full SHA for c7931bd
lib/internal/modules/esm/module_job.js
@@ -85,7 +85,7 @@ function extractExample(file, lineNumber) {
85
return `\n\nimport ${defaultImport} from '${node.node.source.value}';\n` +
86
`const {${destructuringAssignment}} = ${defaultImport};\n`;
87
} while (node === undefined || node.node.loc.start.line <= lineNumber);
88
- return '';
+ assert.fail('Could not find erroneous import statement');
89
}
90
91
/* A ModuleJob tracks the loading of a single Module, and the ModuleJobs of
0 commit comments