Skip to content

Commit 1084b5a

Browse files
authored
fix: add await to app.env.lookup() for async handling (#919)
1 parent 1a9ca65 commit 1084b5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/routes/update.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const successMessage = 'I\'ve just updated your generators. Remember, you can up
66

77
async function updateSuccess(app) {
88
console.log(`\n${chalk.cyan(successMessage)}\n`);
9-
app.env.lookup();
9+
await app.env.lookup();
1010
await app.updateAvailableGenerators();
1111
app.navigate('home');
1212
}

0 commit comments

Comments
 (0)