diff options
| author | ST-DDT <[email protected]> | 2023-11-07 17:12:47 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-11-07 16:12:47 +0000 |
| commit | 9498203190e37a96114ddc8e861b02ccd94e517b (patch) | |
| tree | bf605df537b387d1d33fe2707f3d46b9b4afed44 /scripts/apidoc/diff.ts | |
| parent | fafcba473f8a91eeb8230ebdc1ad5039b25091e1 (diff) | |
| download | faker-9498203190e37a96114ddc8e861b02ccd94e517b.tar.xz faker-9498203190e37a96114ddc8e861b02ccd94e517b.zip | |
infra(unicorn): no-negated-condition (#2507)
Diffstat (limited to 'scripts/apidoc/diff.ts')
| -rw-r--r-- | scripts/apidoc/diff.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/apidoc/diff.ts b/scripts/apidoc/diff.ts index 18b8e60f..101200cd 100644 --- a/scripts/apidoc/diff.ts +++ b/scripts/apidoc/diff.ts @@ -12,9 +12,9 @@ async function loadRemote(url: string): Promise<DocsApiDiffIndex> { throw new Error( `Failed to load remote diff index from ${url}: ${res.statusText}` ); - } else { - return res.json() as Promise<DocsApiDiffIndex>; } + + return res.json() as Promise<DocsApiDiffIndex>; }); } |
