fix: return resolved traverse
This commit is contained in:
parent
8fc66beafa
commit
442eeab622
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user