Skip to content

Return version from package.json on CLI, fixes #415 and bitpay/bitcore#1368#533

Open
kingjan1999 wants to merge 1 commit intobitpay:masterfrom
kingjan1999:fix/undefined-version
Open

Return version from package.json on CLI, fixes #415 and bitpay/bitcore#1368#533
kingjan1999 wants to merge 1 commit intobitpay:masterfrom
kingjan1999:fix/undefined-version

Conversation

@kingjan1999
Copy link

One might argue that reading version numbers from package.json isn't good style and may have security implications (https://stackoverflow.com/a/10855054), but I don't see any problems here.

This fixes #415 and should fix bitpay/bitcore#1368 (though I haven't tested the latter).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Undefined version Output a version?

1 participant