aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/uglifyjs7
1 files changed, 4 insertions, 3 deletions
diff --git a/bin/uglifyjs b/bin/uglifyjs
index a2039f7e..ef2020c5 100755
--- a/bin/uglifyjs
+++ b/bin/uglifyjs
@@ -225,9 +225,10 @@ function run() {
col = line.length;
}
if (line) {
- if (col > 40) {
- line = line.slice(col - 40);
- col = 40;
+ var limit = 78;
+ if (col > limit) {
+ line = line.slice(col - limit);
+ col = limit;
}
console.error(line.slice(0, 80));
console.error(line.slice(0, col).replace(/\S/g, " ") + "^");