Skip to content

Commit

Permalink
ignore "implementationOfRequireOrImportForUnstableEsm" when profiling
Browse files Browse the repository at this point in the history
  • Loading branch information
giltayar committed May 28, 2021
1 parent d68d8ea commit 35a5c9f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/esm-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ exports.loadFilesAsync = async (files, preLoadFunc, postLoadFunc) => {
}
};

/* istanbul ignore next */
async function implementationOfRequireOrImportForUnstableEsm(file) {
if (path.extname(file) === '.mjs') {
return formattedImport(file);
Expand Down

0 comments on commit 35a5c9f

Please sign in to comment.