Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRebecca Turner <me@re-becca.org>2015-07-01 16:13:55 +0300
committerRebecca Turner <me@re-becca.org>2015-07-01 16:13:55 +0300
commite06023a74e9340b2d9bc8a8e2575691242b8644d (patch)
tree06fe72869e0579834e6812e1c147e7f46415ddc3 /lib
parent0c6aa3e1ad41cd509c20897b4c15b71f9ef581e8 (diff)
install: code cleanup – put parseJSON where it belongs
Diffstat (limited to 'lib')
-rw-r--r--lib/install.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/install.js b/lib/install.js
index 5e199930f..14e265196 100644
--- a/lib/install.js
+++ b/lib/install.js
@@ -109,6 +109,7 @@ var locker = require('./utils/locker.js')
var lock = locker.lock
var unlock = locker.unlock
var ls = require('./ls.js')
+var parseJSON = require('./utils/parse-json.js')
// install specific libraries
var readShrinkwrap = require('./install/read-shrinkwrap.js')
@@ -128,7 +129,6 @@ var getSaveType = require('./install/save.js').getSaveType
var doSerialActions = require('./install/actions.js').doSerial
var doParallelActions = require('./install/actions.js').doParallel
var doOneAction = require('./install/actions.js').doOne
-var parseJSON = require('./utils/parse-json.js')
var getPackageId = require('./install/get-package-id.js')
function unlockCB (lockPath, name, cb) {