fix diagnostic text

This commit is contained in:
alexlamsl 2020-05-01 17:24:32 +08:00
parent 0794aaa2c2
commit 9613a5485b

View File

@ -41,7 +41,7 @@ if (typeof phantom == "undefined") {
var uglifyjs = child_process.spawn(process.argv[0], args, {
silent: true
}).on("exit", function(code) {
console.log("uglifyjs", url.slice(site.length + 1), args.join(" "));
console.log("uglifyjs", url.slice(site.length + 1), args.slice(1).join(" "));
console.log(stderr);
if (code) throw new Error("uglifyjs failed with code " + code);
});