1
0
mirror of https://github.com/S2-/minifyfromhtml.git synced 2025-08-03 12:20:04 +02:00
Files
2022-08-20 18:51:33 +02:00

14 lines
294 B
JavaScript

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