Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/AnonR/smanonr..../lib/node_mod.../npm/lib
File: test.js
/* eslint-disable standard/no-callback-literal */
[0] Fix | Delete
module.exports = test
[1] Fix | Delete
[2] Fix | Delete
const testCmd = require('./utils/lifecycle-cmd.js')('test')
[3] Fix | Delete
[4] Fix | Delete
test.usage = testCmd.usage
[5] Fix | Delete
[6] Fix | Delete
function test (args, cb) {
[7] Fix | Delete
testCmd(args, function (er) {
[8] Fix | Delete
if (!er) return cb()
[9] Fix | Delete
if (er.code === 'ELIFECYCLE') {
[10] Fix | Delete
return cb('Test failed. See above for more details.')
[11] Fix | Delete
}
[12] Fix | Delete
return cb(er)
[13] Fix | Delete
})
[14] Fix | Delete
}
[15] Fix | Delete
[16] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function