Hi,

it's no good idea to remove baseDir here, because it is used as a parameter in (or around) line 50 where it is then undefined.

`node.canonicalDir = path.relative(baseDir, node.canonicalDir);`

Kind regards
Marc