[web] Upgrade Prettier to match version in monorepo root (#6231)

GitOrigin-RevId: 02f97af1b9704782eee77a0b7dfc477ada23e34d
This commit is contained in:
Alf Eaton
2022-01-11 09:03:23 +00:00
committed by Copybot
parent f3f0be5c56
commit 50df230846
153 changed files with 2151 additions and 2232 deletions
@@ -3,8 +3,8 @@
const fs = require('fs')
const minimist = require('minimist')
const InstitutionsAPI = require('../../app/src/Features/Institutions/InstitutionsAPI')
.promises
const InstitutionsAPI =
require('../../app/src/Features/Institutions/InstitutionsAPI').promises
const argv = minimist(process.argv.slice(2))
const commit = argv.commit !== undefined
@@ -175,12 +175,8 @@ function loadCachedEntitlements(cachedEntitlementsFilename) {
for (const cachedEntitlementLine of cachedEntitlementsData) {
// this is safe because comma is not an allowed value for any column
const [
userId,
email,
hasEntitlement,
providerId,
] = cachedEntitlementLine.split(',')
const [userId, email, hasEntitlement, providerId] =
cachedEntitlementLine.split(',')
let hasEntitlementBoolean
if (ignoreNulls) {
hasEntitlementBoolean = hasEntitlement === 't'