Skip to content

Commit

Permalink
🐛 Fix #1
Browse files Browse the repository at this point in the history
  • Loading branch information
59naga committed Aug 23, 2018
1 parent 1e9056f commit 3397617
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions index.mjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
export default ({ template, types }) => {
const visitor = {
AwaitExpression(path) {
if (!path.get("argument.callee").node) {
return;
}
if (path.get("argument.callee.type").node !== "Import") {
return;
}
Expand Down

0 comments on commit 3397617

Please sign in to comment.