Simplify Logic
madhavarshney opened this issue · comments
Hi there! I looked through the code and found that it can be a little simplified. The snippet below can be replaced by a simple process.versions.node
:
Lines 8 to 12 in 4efd69f
var version = process.versions.node;
And this can be replaced with long: version
:
Line 19 in 4efd69f
If you don't mind, I can open a PR.
Thanks, Madhav.
Hi,
Yes, PR welcome 👍
Thank you !