Merge pull request #3942 from overleaf/prettier-trailing-comma

Set Prettier's "trailingComma" setting to "es5"

GitOrigin-RevId: 9f14150511929a855b27467ad17be6ab262fe5d5
This commit is contained in:
Alf Eaton
2021-04-27 08:52:58 +01:00
committed by Copybot
parent 15011a9982
commit 1be43911b4
877 changed files with 20093 additions and 20064 deletions
@@ -25,12 +25,12 @@ module.exports = {
const conditions = {
_id: projectId,
lastUpdated: { $lt: lastUpdatedAt }
lastUpdated: { $lt: lastUpdatedAt },
}
const update = {
lastUpdated: lastUpdatedAt || new Date().getTime(),
lastUpdatedBy
lastUpdatedBy,
}
return Project.updateOne(conditions, update, {}, callback)
},
@@ -63,5 +63,5 @@ module.exports = {
return callback()
}
})
}
},
}