aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index.js b/src/index.js
index 23a99dd..e09d247 100644
--- a/src/index.js
+++ b/src/index.js
@@ -467,6 +467,6 @@ function dargs(obj) {
467 else if (Array.isArray(val)) val.forEach(v => args.push(arg, v)) 467 else if (Array.isArray(val)) val.forEach(v => args.push(arg, v))
468 else args.push(arg, obj[key]) 468 else args.push(arg, obj[key])
469 469
470 return args 470 return args.filter(arg => (typeof arg !== 'boolean'))
471 }, []) 471 }, [])
472} 472}