Skip to content

Commit 3e930b9

Browse files
committed
Fixed: Retain options argument in Root#load when used with promises, see #684
1 parent 364e7d4 commit 3e930b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/root.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ Root.prototype.load = function load(filename, options, callback) {
7878
}
7979
var self = this;
8080
if (!callback)
81-
return util.asPromise(load, self, filename);
81+
return util.asPromise(load, self, filename, options);
8282

8383
var sync = callback === SYNC; // undocumented
8484

0 commit comments

Comments
 (0)