avoid calling path.node when we already have the reference#1440
Merged
avoid calling path.node when we already have the reference#1440
path.node when we already have the reference#1440