fix diagnostic text (#3838)
This commit is contained in:
@@ -41,7 +41,7 @@ if (typeof phantom == "undefined") {
|
|||||||
var uglifyjs = child_process.spawn(process.argv[0], args, {
|
var uglifyjs = child_process.spawn(process.argv[0], args, {
|
||||||
silent: true
|
silent: true
|
||||||
}).on("exit", function(code) {
|
}).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);
|
console.log(stderr);
|
||||||
if (code) throw new Error("uglifyjs failed with code " + code);
|
if (code) throw new Error("uglifyjs failed with code " + code);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user