refactor: split to make testing more sane

This commit is contained in:
cha0s 2019-09-08 21:19:37 -05:00
parent a899dfe659
commit ad19a06eb4

View File

@ -55,7 +55,8 @@ export class Actions extends decorate(Traversals) {
if (result instanceof Promise) {
this._actionPromise = result;
// Handle any errors.
result.catch(console.error).finally(() => {
result.catch(console.error);
result.finally(() => {
// Finally, run the prologue.
this.prologue();
});