[Pkg-javascript-commits] [uglifyjs] 71/491: print package name alongside version in CLI (#1946)

Jonas Smedegaard dr at jones.dk
Wed Feb 14 19:51:23 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 f6c805ae1d7ffe76f71d3deaff2f49a6526bbd7b
Author: Alex Lam S.L <alexlamsl at gmail.com>
Date:   Tue May 16 06:34:32 2017 +0800

    print package name alongside version in CLI (#1946)
    
    fixes #1945
---
 bin/uglifyjs | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/bin/uglifyjs b/bin/uglifyjs
index 65b761c..0194269 100755
--- a/bin/uglifyjs
+++ b/bin/uglifyjs
@@ -21,8 +21,7 @@ var options = {
     compress: false,
     mangle: false
 };
-program._name = info.name;
-program.version(info.version);
+program.version(info.name + ' ' + info.version);
 program.parseArgv = program.parse;
 program.parse = undefined;
 program.option("-p, --parse <options>", "Specify parser options.", parse_js("parse", true));

-- 
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