Replaced `fs.readFile` with `require` for json config files #72

Merged
merged 1 commit into from Feb 17, 2013

Conversation

Projects
None yet
2 participants
Contributor

jaipandya commented Feb 15, 2013

As  of node v0.5.x we can require a .json file
the same way we do it for .js files.
http://nodejs.org/api/modules.html#modules_file_modules

@jaipandya jaipandya Replaced fs.readFile with require for JSON files
As  of node v0.5.x we can require a .json file
the same way we do it for .js files.
http://nodejs.org/api/modules.html#modules_file_modules
546a3c3

@mansilladev mansilladev added a commit that referenced this pull request Feb 17, 2013

@mansilladev mansilladev Merge pull request #72 from jaipandya/patch-1
Replaced `fs.readFile` with `require` for json config files
bc0a9b5

@mansilladev mansilladev merged commit bc0a9b5 into mashery:master Feb 17, 2013

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