From 61b57e0b76ceca947d79586d899f170c769a7dc8 Mon Sep 17 00:00:00 2001 From: Alban Coquoin Date: Tue, 31 Mar 2015 10:39:55 +0200 Subject: [PATCH] Fix "ypeError: Cannot call method 'walk' of undefined" problem with the uglify assetic filter who add option "no-mangle" --- bin/uglifyjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/uglifyjs b/bin/uglifyjs index 9b335b74..57370e6a 100755 --- a/bin/uglifyjs +++ b/bin/uglifyjs @@ -470,7 +470,7 @@ function normalize(o) { function getOptions(x, constants) { x = ARGS[x]; - if (x == null) return null; + if (!x) return null; var ret = {}; if (x !== "") { var ast;