shama / napa

:wine_glass: A helper for installing stuff without a package.json with npm.
MIT License
412 stars 34 forks source link

"done" callback not called #38

Closed tomaszlukasik closed 9 years ago

tomaszlukasik commented 9 years ago

I am using napa.cli() in my npm install script as a module. It's working great, but the callback (second arg) is never called. I think it's because the condition (total < 1) in cli.js l.11 is never met. Lines 11 and 12 should be swapped.

shama commented 9 years ago

Fixed thanks!