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-28 02:10:01 +00:00
committed by Copybot
parent 15011a9982
commit 1be43911b4
877 changed files with 20093 additions and 20064 deletions
+2 -2
View File
@@ -44,7 +44,7 @@ async function checkCert(ukamfDB, providerId) {
const { body } = await V1Api.request({
json: true,
qs: { university_id: providerId },
uri: '/api/v1/sharelatex/university_saml'
uri: '/api/v1/sharelatex/university_saml',
})
// show notice if sso not currently enabled
if (body.sso_enabled === true) {
@@ -93,6 +93,6 @@ async function checkCert(ukamfDB, providerId) {
async function getActiveProviderIds() {
return db.users.distinct('samlIdentifiers.providerId', {
'samlIdentifiers.externalUserId': { $exists: true }
'samlIdentifiers.externalUserId': { $exists: true },
})
}
+2 -2
View File
@@ -22,7 +22,7 @@ class UKAMFEntity {
'ds:X509Data',
0,
'ds:X509Certificate',
0
0,
])
if (!cert) {
throw new Error('no cert')
@@ -42,7 +42,7 @@ class UKAMFEntity {
return {
cert,
entityId,
entryPoint
entryPoint,
}
}
}