Skip to content

Commit

Permalink
fix query augmenting
Browse files Browse the repository at this point in the history
  • Loading branch information
Petr Leonov committed May 31, 2019
1 parent fb69d88 commit 5caeebd
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions babel-plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -472,9 +472,6 @@ function processProgram({ types: t }, programPath, programOpts) {
};

function test(path, statepath) {
if (!options.enable) {
return false;
}
if (options.instrumentImports != 'query') return;

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

0 comments on commit 5caeebd

Please sign in to comment.