From 42294ddc7614fa07ab3cdff409cf89f00cd5d0aa Mon Sep 17 00:00:00 2001 From: Christian Tellnes Date: Fri, 11 Dec 2015 08:20:12 +0100 Subject: [PATCH] fix length check --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 2c5b006..65837e2 100644 --- a/index.js +++ b/index.js @@ -32,7 +32,7 @@ module.exports = function (src) { var args = body.arguments; if (args.length === 1) args = extractStandalone(args) || args; - if (args.length !== 3) return; + if (args.length !== 6) return; if (args[0].type !== 'ObjectExpression') return; if (args[1].type !== 'ObjectExpression') return;