mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-23 12:21:06 +00:00
Merge pull request #8544 from overleaf/bg-fix-log-message
fix message in downgrade_project script GitOrigin-RevId: 9619f1122d1d242a1f3cfd7e07c7ddfd908e340e
This commit is contained in:
parent
4ec107137a
commit
496f283892
1 changed files with 2 additions and 4 deletions
|
@ -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
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in a new issue