Lint & format
This commit is contained in:
parent
27423bf3cd
commit
ca225a71be
17 changed files with 94 additions and 83 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import { DocumentMetadata, RelativePath } from "src/persistence/database";
|
||||
import type { DocumentMetadata, RelativePath } from "src/persistence/database";
|
||||
import { EMPTY_HASH } from "./hash";
|
||||
|
||||
export function findMatchingFileBasedOnHash(
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import * as fetchRetryFactory from "fetch-retry";
|
||||
import type { RequestInitRetryParams } from "fetch-retry";
|
||||
import { Logger } from "src/tracing/logger";
|
||||
import type { Logger } from "src/tracing/logger";
|
||||
|
||||
const fetchWithRetry = fetchRetryFactory.default(fetch);
|
||||
|
||||
|
|
@ -15,7 +15,7 @@ function getUrlFromInput(input: RequestInfo | URL): string {
|
|||
}
|
||||
|
||||
export function retriedFetchFactory(logger: Logger) {
|
||||
return (
|
||||
return async (
|
||||
input: RequestInfo | URL,
|
||||
init: RequestInitRetryParams<typeof fetch> = {}
|
||||
): Promise<Response> => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue