Merge pull request #20731 from overleaf/revert-20480-ls-convert-migration-scripts-to-esm

Revert "Convert migration scripts to ESM"

GitOrigin-RevId: ca9ddda6ddee8964f72797d3b653ef9cee6a7a49
This commit is contained in:
Liangjun Song
2024-10-14 10:57:02 +00:00
committed by Copybot
parent 492fe24a75
commit b69ff9417a
126 changed files with 557 additions and 1202 deletions
@@ -40,7 +40,7 @@ async function updateStringDates() {
console.log(`Updated ${count} confirmedAt strings to dates!`)
}
if (require.main === module) {
if (!module.parent) {
updateStringDates()
.then(() => {
process.exit(0)