Skip to content

Commit

Permalink
feat: Run the plugin in the "enter" phase of the Program (#179)
Browse files Browse the repository at this point in the history
  • Loading branch information
fatfisz committed May 16, 2017
1 parent 05ffc96 commit c4794f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Expand Up @@ -10,7 +10,7 @@ const importVisitors = {

const visitor = {
Program: {
exit(programPath, state) {
enter(programPath, state) {
programPath.traverse(importVisitors, state);
},
},
Expand Down

0 comments on commit c4794f9

Please sign in to comment.