Skip to content

Commit

Permalink
fix: Add proper callback handling to Compiler readRecords function
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Zook committed Sep 27, 2022
1 parent 9fcaa24 commit 4499b59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Compiler.js
Expand Up @@ -973,7 +973,7 @@ ${other}`);
asyncLib.parallel([
cb => this.hooks.readRecords.callAsync(cb),
this._readRecords.bind(this)
]);
], callback);
} else {
this.records = {};
this.hooks.readRecords.callAsync(callback);
Expand Down

0 comments on commit 4499b59

Please sign in to comment.