From fc6f17d22368085d80a91c8d1c06c01342b72c02 Mon Sep 17 00:00:00 2001 From: Brian Gough Date: Thu, 23 Jun 2022 09:10:51 +0100 Subject: [PATCH] Merge pull request #8544 from overleaf/bg-fix-log-message fix message in downgrade_project script GitOrigin-RevId: 9619f1122d1d242a1f3cfd7e07c7ddfd908e340e --- services/web/scripts/history/downgrade_project.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/services/web/scripts/history/downgrade_project.js b/services/web/scripts/history/downgrade_project.js index 78ac906273..cff3f41b61 100644 --- a/services/web/scripts/history/downgrade_project.js +++ b/services/web/scripts/history/downgrade_project.js @@ -31,9 +31,7 @@ async function processProject(project) { await ProjectHistoryHandler.promises.downgradeHistory(project._id) } if (VERBOSE_LOGGING) { - console.log( - `project ${project._id} converted and upgraded to full project history` - ) + console.log(`project ${project._id} downgraded to track-changes`) } } @@ -64,7 +62,7 @@ async function main() { // then history could get into a broken state // Instead, skip any unprocessed projects and exit() at end of the batch. process.on('SIGINT', function () { - console.log('Caught SIGINT, waiting for in process upgrades to complete') + console.log('Caught SIGINT, waiting for in process downgrades to complete') INTERRUPT = true })