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:
Diffstat (limited to 'lib')
-rw-r--r--lib/utils/module-name.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/utils/module-name.js b/lib/utils/module-name.js
index 649dfac01..43e0f5fb1 100644
--- a/lib/utils/module-name.js
+++ b/lib/utils/module-name.js
@@ -1,6 +1,5 @@
'use strict'
var path = require('path')
-var validate = require('aproba')
module.exports = moduleName
module.exports.test = {}
@@ -22,7 +21,6 @@ function isNotEmpty (str) {
var unknown = 0
function moduleName (tree) {
- validate('O', arguments)
var pkg = tree.package || tree
if (isNotEmpty(pkg.name)) return pkg.name
var pkgName = pathToPackageName(tree.path)