IonicaBizau / promptify

An easy-to-use prompt for Node.js.
MIT License
1 stars 1 forks source link

patch for issue#2 - path checking now OS and platform agnostic #4

Closed MichaelPaulukonis closed 10 years ago

MichaelPaulukonis commented 10 years ago

For Issue #2 - Checks for path should now work cross-OS on node, and cross-platform (node/browser).

I created a new boolean inBrowser to do the check once (where previous code was checking against the exports object).

Also make the use of double-quotes consistent.

IonicaBizau commented 10 years ago

Thank you! I will review this and merge it if it's ok.

Also, don't forget to add yourself as contributor: https://github.com/IonicaBizau/jasciimo/blob/master/package.json#L12 :smile:

IonicaBizau commented 10 years ago

Thanks! Merged.