gulpjs / liftoff

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

env.modulePath not set correctly in v2 #31

Closed callumlocke closed 9 years ago

callumlocke commented 9 years ago

After updating my project to liftoff 2.0.0, the env.modulePath (passed to my launch callback) has changed to something incorrect (just ./index.js relative to the cwd) when it used to point to my module in node_modules. I'm guessing this is due to an API change in v2, but I can't see anything obvious

callumlocke commented 9 years ago

i've looked into it and now think it could be a bug... the weird thing is env.modulePath is wrong but the env.modulePackage has been correctly loaded.

think I know what's wrong, pr coming...