SparkPost / heml

HEML is an open source markup language for building responsive email.
https://heml.io
MIT License
4.33k stars 157 forks source link

Allow CLI to use absolute paths #24

Closed avigoldman closed 6 years ago

avigoldman commented 6 years ago

At the moment the CLI only works with relative paths to the working directory. This PR changes the CLI to use path.resolve instead of path.join so it works with both relative or absolute paths.

See #18 for more.

kevindavus commented 6 years ago

I think you want to take out the process.cwd() from the path.resolve

avigoldman commented 6 years ago

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.