Skip to content
Closed
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
Fix line change
  • Loading branch information
aduh95 authored May 26, 2019
commit 77276a4a3708d9709bcad79fc185ad31a1a7e57d
2 changes: 1 addition & 1 deletion lib/internal/modules/cjs/loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -660,7 +660,7 @@ Module.prototype.load = function(filename) {
const module = ESMLoader.moduleMap.get(url);
// create module entry at load time to snapshot exports correctly
const exports = this.exports;
if (module !== undefined) { // Called from cjs translator
if (module !== undefined) { // called from cjs translator
if (module.reflect) {
module.reflect.onReady((reflect) => {
reflect.exports.default.set(exports);
Expand Down