[Pkg-javascript-commits] [uglifyjs] 117/190: Allow --no-* options to disable their respective parameter
Antonio Terceiro
terceiro at moszumanska.debian.org
Sun Aug 7 23:17:18 UTC 2016
This is an automated email from the git hooks/post-receive script.
terceiro pushed a commit to annotated tag upstream/2.7.0
in repository uglifyjs.
commit bdd8e34f635db60765f1fd5c8b5355e71ee16095
Author: Richard van Velzen <rvanvelzen at experty.com>
Date: Wed Feb 17 20:04:45 2016 +0100
Allow --no-* options to disable their respective parameter
Fixes #974 and #972
---
bin/uglifyjs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/uglifyjs b/bin/uglifyjs
index 1f449aa..90197cc 100755
--- a/bin/uglifyjs
+++ b/bin/uglifyjs
@@ -501,7 +501,7 @@ function normalize(o) {
function getOptions(flag, constants) {
var x = ARGS[flag];
- if (x == null) return null;
+ if (x == null || x === false) return null;
var ret = {};
if (x !== "") {
if (Array.isArray(x)) x = x.map(function (v) { return "(" + v + ")"; }).join(", ");
--
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