babel / kneden

Transpile ES2017 async/await to vanilla ES6 Promise chains: a Babel plugin
ISC License
514 stars 41 forks source link

Can't get final result in "if-flow" case #121

Closed yejinjian closed 6 years ago

yejinjian commented 6 years ago

Hi, @marten-de-vries I use the async function like your "if-flow" test case:

if-flow/actual.js if-flow/expected.js

it can't get the result outside because of

   then(function () {});  // in the end