diff --git a/lib/nodejs/esm-utils.js b/lib/nodejs/esm-utils.js index 269179c7c0..828e2e5697 100644 --- a/lib/nodejs/esm-utils.js +++ b/lib/nodejs/esm-utils.js @@ -90,7 +90,7 @@ exports.loadFilesAsync = async (files, preLoadFunc, postLoadFunc) => { preLoadFunc(file); const filePath = file.startsWith('file://') ? file - : path.resolve(file) + : path.resolve(file); const result = await exports.requireOrImport(filePath); postLoadFunc(file, result); }