Closed int3h closed 8 years ago
Thank you for the contribution!
I've tested it and it works for me. Before I merge it, please, could you:
Again, thanks for taking the time to fix this bug.
@n-riesco done!
@int3h I went ahead and released this PR as IJavascript@5.0.14. Thanks for contributing!
In
lib/kernel.js
, line 183 tries to load ijavascript'spackage.json
file to find the current version number. However, if $PWD isn't the ijavascript module folder, this will fail with a "file not found" error.This commit changes that line so that it tries to load
__dirname/../package.json
(using thepath.join()
utility for cross-platform portability).