Your IP : 3.147.103.33


Current Path : /opt/alt/alt-nodejs6/root/usr/lib/node_modules/npm/lib/
Upload File :
Current File : //opt/alt/alt-nodejs6/root/usr/lib/node_modules/npm/lib/test.js

module.exports = 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.')
    }
    return cb(er)
  })
}

?>