Skip to content

Commit

Permalink
chore(all): return promise from configure
Browse files Browse the repository at this point in the history
closes #899
  • Loading branch information
JeroenVinke committed Jul 19, 2018
1 parent e9641e4 commit c40b3d9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/resources/src/main-cli.js
Expand Up @@ -13,5 +13,5 @@ export function configure(aurelia) {
aurelia.use.plugin('aurelia-testing');
}

aurelia.start().then(() => aurelia.setRoot());
return aurelia.start().then(() => aurelia.setRoot());
}
2 changes: 1 addition & 1 deletion lib/resources/src/main-cli.ts
Expand Up @@ -14,5 +14,5 @@ export function configure(aurelia: Aurelia) {
aurelia.use.plugin('aurelia-testing');
}

aurelia.start().then(() => aurelia.setRoot());
return aurelia.start().then(() => aurelia.setRoot());
}
2 changes: 1 addition & 1 deletion lib/resources/src/main-webpack.js
Expand Up @@ -26,5 +26,5 @@ export function configure(aurelia) {
aurelia.use.plugin(PLATFORM.moduleName('aurelia-testing'));
}

aurelia.start().then(() => aurelia.setRoot(PLATFORM.moduleName('app')));
return aurelia.start().then(() => aurelia.setRoot(PLATFORM.moduleName('app')));
}
2 changes: 1 addition & 1 deletion lib/resources/src/main-webpack.ts
Expand Up @@ -28,5 +28,5 @@ export function configure(aurelia: Aurelia) {
aurelia.use.plugin(PLATFORM.moduleName('aurelia-testing'));
}

aurelia.start().then(() => aurelia.setRoot(PLATFORM.moduleName('app')));
return aurelia.start().then(() => aurelia.setRoot(PLATFORM.moduleName('app')));
}

0 comments on commit c40b3d9

Please sign in to comment.