mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 06:03:45 +01:00
Merge pull request #3942 from overleaf/prettier-trailing-comma
Set Prettier's "trailingComma" setting to "es5" GitOrigin-RevId: 9f14150511929a855b27467ad17be6ab262fe5d5
This commit is contained in:
@@ -7,7 +7,7 @@ const readline = require('readline')
|
||||
const {
|
||||
db,
|
||||
ObjectId,
|
||||
waitForDb
|
||||
waitForDb,
|
||||
} = require('../../app/src/infrastructure/mongodb')
|
||||
const DocstoreManager = require('../../app/src/Features/Docstore/DocstoreManager')
|
||||
.promises
|
||||
@@ -25,7 +25,7 @@ const input = fs.createReadStream(argv._[0])
|
||||
|
||||
const rl = readline.createInterface({
|
||||
crlfDelay: Infinity,
|
||||
input
|
||||
input,
|
||||
})
|
||||
|
||||
const orphanedDocs = {}
|
||||
@@ -106,7 +106,7 @@ async function projectIdExists(projectId) {
|
||||
// check both projects and deletedProjects to see if project id exists
|
||||
const [project, deletedProject] = await Promise.all([
|
||||
findProject(projectId),
|
||||
findDeletedProject(projectId)
|
||||
findDeletedProject(projectId),
|
||||
])
|
||||
|
||||
return project !== null || deletedProject !== null
|
||||
|
||||
Reference in New Issue
Block a user