Skip to content

Instantly share code, notes, and snippets.

@joshuakarjala
Created March 13, 2015 13:29
Show Gist options
  • Save joshuakarjala/6876936fff22747efba0 to your computer and use it in GitHub Desktop.
Save joshuakarjala/6876936fff22747efba0 to your computer and use it in GitHub Desktop.
apparently if you change the case in your require string you get a different object. Instead of a caseError
//apparently if you change the case in your require string you get a different object. Instead of a caseError
var g = require('getenv');
var G = require('getEnv');
var e = require('getenv');
g === G;
// returns false
g === e;
//returns true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment