[Pkg-javascript-commits] [uglifyjs] 28/491: restore report of supported options (#1861)

Jonas Smedegaard dr at jones.dk
Wed Feb 14 19:51:19 UTC 2018


This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag debian/3.3.10-1
in repository uglifyjs.

commit 69b566365303583ab7fa0e89288b86dbebc5c676
Author: Alex Lam S.L <alexlamsl at gmail.com>
Date:   Tue May 2 01:42:29 2017 +0800

    restore report of supported options (#1861)
    
    fixes #1859
---
 bin/uglifyjs | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/bin/uglifyjs b/bin/uglifyjs
index e89b68a..57e33d9 100755
--- a/bin/uglifyjs
+++ b/bin/uglifyjs
@@ -205,6 +205,10 @@ function run() {
                 console.error(line.slice(0, col).replace(/\S/g, " ") + "^");
             }
         }
+        if (ex.defs) {
+            console.error("Supported options:");
+            console.error(ex.defs);
+        }
         fatal("ERROR: " + ex.message);
     }
     if (program.output == "spidermonkey") {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/uglifyjs.git



More information about the Pkg-javascript-commits mailing list