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:
authorisaacs <i@izs.me>2014-05-23 20:48:47 +0400
committerisaacs <i@izs.me>2014-05-23 20:52:57 +0400
commit2a067ca2e097ff67025179aab71a3ae516c14821 (patch)
tree5334d139a386a8f1595f2c2af6ccb7c8aad1ed20 /lib
parent8baa6c423a6e212f70b9e60900cd0a03f601184c (diff)
Always sort saved bundleDependencies
Diffstat (limited to 'lib')
-rw-r--r--lib/install.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/install.js b/lib/install.js
index 3b7e1c444..5cf974ea7 100644
--- a/lib/install.js
+++ b/lib/install.js
@@ -391,6 +391,7 @@ function save (where, installed, tree, pretty, hasArguments, cb) {
if (saveBundle) {
var i = bundle.indexOf(t)
if (i === -1) bundle.push(t)
+ data.bundleDependencies = bundle.sort()
}
})