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

View File

@@ -9,7 +9,7 @@ async function optIn(userId) {
async function optOut(userId) {
await UserUpdater.promises.updateUser(userId, {
$set: { betaProgram: false }
$set: { betaProgram: false },
})
metrics.inc('beta-program.opt-out')
}
@@ -17,12 +17,12 @@ async function optOut(userId) {
const BetaProgramHandler = {
optIn: callbackify(optIn),
optOut: callbackify(optOut)
optOut: callbackify(optOut),
}
BetaProgramHandler.promises = {
optIn,
optOut
optOut,
}
module.exports = BetaProgramHandler