mirror of
https://github.com/titanscouting/tra-analysis.git
synced 2025-10-24 01:49:20 +00:00
push all website files
This commit is contained in:
16
website/node_modules/npm/lib/test.js
generated
vendored
Normal file
16
website/node_modules/npm/lib/test.js
generated
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
/* 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)
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user