Skip to content

Commit 9f7bb00

Browse files
committed
resolve rebase conflicts
1 parent 2954732 commit 9f7bb00

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

lib/internal/modules/cjs/loader.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1065,7 +1065,11 @@ Module._load = function(request, parent, isMain) {
10651065
// to determine if it's loading or not.
10661066
const importedCJSMetadata = importedCJSCache.get(cachedModule);
10671067
if (importedCJSMetadata.loading) {
1068-
return getExportsForCircularRequire(cachedModule);
1068+
const result = getExportsForCircularRequire(cachedModule);
1069+
1070+
endTimer(logLabel, traceLabel);
1071+
1072+
return result;
10691073
}
10701074
importedCJSMetadata.loading = true;
10711075
} else {

0 commit comments

Comments
 (0)