From df017fa0b2020f877bf7fec3536417691dafdb01 Mon Sep 17 00:00:00 2001 From: zkldi Date: Fri, 22 Oct 2021 02:52:28 +0100 Subject: [PATCH] Fix typo in validate-database.ts that caused commands to fail. --- server/scripts/validate-database.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/scripts/validate-database.ts b/server/scripts/validate-database.ts index 0fa42f07c..cecd629fb 100644 --- a/server/scripts/validate-database.ts +++ b/server/scripts/validate-database.ts @@ -54,6 +54,7 @@ export async function ValidateAllCollections() { if (require.main === module) { if (options.collection) { ValidateCollection(options.collection).then(() => process.exit(0)); + } else { + ValidateAllCollections().then(() => process.exit(0)); } - ValidateAllCollections().then(() => process.exit(0)); }