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
diff options
context:
space:
mode:
-rwxr-xr-xscripts/index-build.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/index-build.js b/scripts/index-build.js
index b3c19a03a..551bb1d56 100755
--- a/scripts/index-build.js
+++ b/scripts/index-build.js
@@ -12,6 +12,7 @@ fs.readdir(api, done("api"))
function done (which) { return function (er, docs) {
if (er) throw er
+ docs.sort()
if (which === "api") apidocs = docs
else clidocs = docs