From aaa3c8d6b4c26b9f54fae2767eb17350db2158e1 Mon Sep 17 00:00:00 2001 From: squidfunk Date: Sat, 25 Feb 2017 17:25:47 +0100 Subject: [PATCH] Trigger new build --- Gulpfile.babel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gulpfile.babel.js b/Gulpfile.babel.js index 67f770fe8..11a3be2e8 100755 --- a/Gulpfile.babel.js +++ b/Gulpfile.babel.js @@ -57,7 +57,7 @@ let args = yargs /* Only use the last seen value if boolean, so overrides are possible */ args = Object.keys(args).reduce((result, arg) => { - result[arg] = Array.isArray(args[arg]) && typeof args[arg][0] === "boolean" // TODO: ugly + result[arg] = Array.isArray(args[arg]) && typeof args[arg][0] === "boolean" ? [].concat(args[arg]).pop() : args[arg] return result