Fix bug in prettyWhere calculation

It was using `process.cwd`, not `process.cwd()`.