Skip to content
This repository

Provide the raw config object to initJson #3392

Closed
wants to merge 1 commit into from

3 participants

Martin Cooper Isaac Z. Schlueter Domenic Denicola
Martin Cooper
Collaborator

Along with npm/init-package-json#5, fixes #3379.

Isaac Z. Schlueter
Owner

Landed in master. Thanks!

Domenic Denicola domenic closed this May 09, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Apr 28, 2013
Martin Cooper Provide the raw config object to initJson. a2562c6
This page is out of date. Refresh to see the latest.

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  lib/init.js
2  lib/init.js
@@ -27,7 +27,7 @@ function init (args, cb) {
27 27
     ,"Press ^C at any time to quit."
28 28
     ].join("\n"))
29 29
 
30  
-  initJson(dir, initFile, npm.config.get(), function (er, data) {
  30
+  initJson(dir, initFile, npm.config, function (er, data) {
31 31
     log.resume()
32 32
     log.silly('package data', data)
33 33
     log.info('init', 'written successfully')
Commit_comment_tip

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.