1
0
mirror of synced 2025-12-22 11:26:57 -05:00

trailingCommas:all on prettier (#38888)

This commit is contained in:
Peter Bengtsson
2023-07-11 07:44:52 -04:00
committed by GitHub
parent 3e6c8c2900
commit 2ec905fc77
290 changed files with 908 additions and 898 deletions

View File

@@ -141,7 +141,7 @@ export async function getPathsWithMatchingStrings(
strArr,
org,
repo,
{ cache = true, forceDownload = false } = {}
{ cache = true, forceDownload = false } = {},
) {
const perPage = 100
const paths = new Set()
@@ -229,7 +229,7 @@ async function secondaryRateLimitRetry(callable, args, maxAttempts = 10, sleepTi
console.warn(
`Got secondary rate limit blocked. Sleeping for ${
sleepTime / 1000
} seconds. (attempts left: ${maxAttempts})`
} seconds. (attempts left: ${maxAttempts})`,
)
return new Promise((resolve) => {
setTimeout(() => {