mirror of
https://github.com/S2-/minifyfromhtml.git
synced 2025-08-04 12:40:05 +02:00
update packages to latest version
This commit is contained in:
13
node_modules/npm/lib/test.js
generated
vendored
Normal file
13
node_modules/npm/lib/test.js
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
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)
|
||||
})
|
||||
}
|
Reference in New Issue
Block a user