diff --git a/create-ava-rule.js b/create-ava-rule.js index 23591122..0c648943 100644 --- a/create-ava-rule.js +++ b/create-ava-rule.js @@ -193,7 +193,7 @@ module.exports = () => { } }, VariableDeclarator: node => { - if (!isTestFile && avaVariableDeclaratorAsts.some(ast => console.log(JSON.stringify(espurify(node), null, 2)) || deepStrictEqual(espurify(node), ast))) { + if (!isTestFile && avaVariableDeclaratorAsts.some(ast => deepStrictEqual(espurify(node), ast))) { isTestFile = true; } },