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:
Diffstat (limited to 'lib/test.js')
-rw-r--r--lib/test.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/test.js b/lib/test.js
index dd4994cf2..cbc758217 100644
--- a/lib/test.js
+++ b/lib/test.js
@@ -1,12 +1,12 @@
module.exports = test
-var testCmd = require("./utils/lifecycle.js").cmd("test")
+var testCmd = require('./utils/lifecycle.js').cmd('test')
function test (args, cb) {
testCmd(args, function (er) {
if (!er) return cb()
- if (er.code === "ELIFECYCLE") {
- return cb("Test failed. See above for more details.")
+ if (er.code === 'ELIFECYCLE') {
+ return cb('Test failed. See above for more details.')
}
return cb(er)
})