fallback to current parentPath if none was provided
This commit is contained in:
parent
6f53980bfc
commit
572129542d
@ -61,7 +61,7 @@ export default class TraversalPath {
|
||||
this.shouldSkip = false;
|
||||
this.shouldStop = false;
|
||||
|
||||
this.parentPath = parentPath;
|
||||
this.parentPath = parentPath || this.parentPath;
|
||||
this.context = context;
|
||||
this.state = context.state;
|
||||
this.opts = context.opts;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user