Skip to content

Commit 1fdd864

Browse files
author
Scott Taylor
committed
Fixed infinite loop bug
1 parent 3fa927c commit 1fdd864

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/multi_caching.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ var multiCaching = function(caches, options) {
129129
}
130130
} else if (_isCacheableValue(result)) {
131131
// break out of async loop.
132-
for (let j = 0; j < i; i++) {
132+
for (let j = 0; j < i; j++) {
133133
caches[j].store.set(keys[0], result);
134134
}
135135
return cb(err, result, i);

0 commit comments

Comments
 (0)