Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

Commit

Permalink
Provide the raw config object to initJson.
Browse files Browse the repository at this point in the history
  • Loading branch information
mfncooper authored and isaacs committed Apr 29, 2013
1 parent 8510862 commit 76da3dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ function init (args, cb) {
,"Press ^C at any time to quit."
].join("\n"))

initJson(dir, initFile, npm.config.get(), function (er, data) {
initJson(dir, initFile, npm.config, function (er, data) {
log.resume()
log.silly('package data', data)
log.info('init', 'written successfully')
Expand Down

0 comments on commit 76da3dc

Please sign in to comment.