Merge pull request #3496 from overleaf/ae-eslint-dot-notation
Enable the eslint dot-notation rule GitOrigin-RevId: e11cbad3e8a77a4a60590d3674fbf34feccc5bc9
This commit is contained in:
@@ -17,7 +17,7 @@ function sendConfirmationEmail(userId, email, emailTemplate, callback) {
|
||||
|
||||
// when force-migrating accounts to v2 from v1, we don't want to send confirmation messages -
|
||||
// setting this env var allows us to turn this behaviour off
|
||||
if (process.env['SHARELATEX_NO_CONFIRMATION_MESSAGES'] != null) {
|
||||
if (process.env.SHARELATEX_NO_CONFIRMATION_MESSAGES != null) {
|
||||
return callback(null)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user