mirror of
https://github.com/nocobase/nocobase.git
synced 2026-09-01 14:57:36 +08:00
fix(cli): missing await
This commit is contained in:
@@ -20,7 +20,7 @@ export default (app: Application) => {
|
||||
}
|
||||
|
||||
if (!opts?.clean && !opts?.force) {
|
||||
if (app.db.collectionExistsInDb('applicationVersion')) {
|
||||
if (await app.db.collectionExistsInDb('applicationVersion')) {
|
||||
installed = true;
|
||||
if (!opts.silent) {
|
||||
console.log('NocoBase is already installed. To reinstall, please execute:');
|
||||
|
||||
Reference in New Issue
Block a user