Closed knksmith57 closed 8 years ago
Holy snap! How did I miss that? You're totally correct.
Thanks for doing the PR.
All of my programmatic tests were from within the full environment with src
included, so I never actually required cash
as a dependency!
Haha, I've actually done this exact same thing before! At least it's an easy fix ;)
Also added a test case to try and catch this going forward.
Cheers!
Programmatic access is stone cold busted.
This is the result of a bad
main
reference to./lib/index.js
inpackage.json
: https://github.com/dthree/cash/blob/master/package.json#L5. I'm guessing we want./dist/index.js
instead since that file existsExample of bad things happening:
I'll work up a PR real quick.