fix(cli): missing await
This commit is contained in:
parent
99fdc83dae
commit
8eec4ac4d1
@ -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:');
|
||||
|
Loading…
Reference in New Issue
Block a user