diff --git a/src/transformer.js b/src/transformer.js index d76d4250..9f08738c 100644 --- a/src/transformer.js +++ b/src/transformer.js @@ -187,7 +187,8 @@ function convertStatements(ast) { node instanceof nodes.IfAsync || node instanceof nodes.AsyncEach || node instanceof nodes.AsyncAll || - node instanceof nodes.CallExtensionAsync) { + node instanceof nodes.CallExtensionAsync || + node instanceof nodes.Include) { async = true; // Stop iterating by returning the node return node;