Closed avigoldman closed 6 years ago
I think you want to take out the process.cwd() from the path.resolve
Looking at the docs it falls back to adding in the current directory if it's not an absolute path so, as I understand it, it will have the same effect. I'll rip those out since its a bit cleaner.
At the moment the CLI only works with relative paths to the working directory. This PR changes the CLI to use
path.resolve
instead ofpath.join
so it works with both relative or absolute paths.See #18 for more.