fix: return resolved traverse

This commit is contained in:
cha0s 2019-04-09 09:18:33 -04:00
parent 8fc66beafa
commit 442eeab622

View File

@ -26,7 +26,7 @@ class Context extends Map {
return rest.reduce((walk, step, index) => { return rest.reduce((walk, step, index) => {
if (walk instanceof Promise) { if (walk instanceof Promise) {
return walk.then((walk) => { return walk.then((walk) => {
fn(walk, step, index); return fn(walk, step, index);
}); });
} }
else { else {