inxilpro / node-checkenv

Check your current environmental variables against a project config file
46 stars 6 forks source link

Check for defaults loosely to allow falsy values #11

Open waiteb3 opened 7 years ago

waiteb3 commented 7 years ago

This small landmine caught me when I set a env-var default to false, rather than "false", for a flag. This would also cause issues for 0 or other falsey values.

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 97.527% when pulling 012da115544b4c777638cadb952e90d92e680bd8 on waiteb3:patch-1 into e61c962c05eb44478f26aa1a9a3d45dce27d6b0f on inxilpro:master.