Closed paperdave closed 2 years ago
@davecaruso I believe there's been a small dip in coverage because of the newline added, please feel free to update the file here:
https://github.com/yargs/yargs-parser/blob/main/.nycrc
On your branch, to bring the threshold down to 97.
weird. i couldnt reproduce the failing test on my machine but i nonetheless updated the config.
@paperdave thank you for the contribution 👌
Closes #447 by using
process.versions.node
for testing the version. The only difference between these values is thev
prefix, so it's not as trivial as swapping a variable. Also, just in caseprocess.versions
is somehow not set, this falls back to previous behavior.With this change in place, Bun should be able to import yargs.