Skip to content

Commit

Permalink
Merge ee3e805 into 4aa2cb9
Browse files Browse the repository at this point in the history
  • Loading branch information
mshima committed Jan 22, 2020
2 parents 4aa2cb9 + ee3e805 commit 6f11f75
Show file tree
Hide file tree
Showing 4 changed files with 96 additions and 53 deletions.
5 changes: 1 addition & 4 deletions lib/run-context.js
Expand Up @@ -127,10 +127,7 @@ RunContext.prototype._run = function() {

this.emit('ready', this.generator);

const generatorPromise = this.generator.run();
if (!this.settings.compatibility) {
generatorPromise.catch(err => this.emit('error', err));
}
this.generator.run();
};

/**
Expand Down

0 comments on commit 6f11f75

Please sign in to comment.