Skip to content

Commit 5caeebd

Browse files
author
Petr Leonov
committed
fix query augmenting
1 parent fb69d88 commit 5caeebd

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

babel-plugin.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -472,9 +472,6 @@ function processProgram({ types: t }, programPath, programOpts) {
472472
};
473473

474474
function test(path, statepath) {
475-
if (!options.enable) {
476-
return false;
477-
}
478475
if (options.instrumentImports != 'query') return;
479476

480477
const imports = path.node.body.filter(byType('ImportDeclaration'));

0 commit comments

Comments
 (0)