gulpjs / liftoff

Launch your command line tool with ease.
MIT License
843 stars 52 forks source link

process.cwd() should be changed to the root folder where the `hackfile` is #16

Closed sindresorhus closed 10 years ago

sindresorhus commented 10 years ago

Since a bin using liftoff can be executed in subfolder, without this you can't use relative paths as they will be different when in a subfolder.

Reproduce:

tkellen commented 10 years ago

This is definitely a bug. I'll have a patch release out for this soon.

tkellen commented 10 years ago

npm update and you'll be good to go. Thanks for reporting this!