mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-17 23:34:14 +01:00
Update got to 14.6.6
Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com>
This commit is contained in:
@@ -5,7 +5,7 @@ import { join } from 'node:path';
|
||||
import { readFile } from 'node:fs/promises';
|
||||
import chalk from 'chalk';
|
||||
import semver from 'semver';
|
||||
import got from 'got';
|
||||
import { got, HTTPError } from 'got';
|
||||
import enquirer from 'enquirer';
|
||||
import execa from 'execa';
|
||||
|
||||
@@ -46,7 +46,7 @@ const npm = got.extend({
|
||||
retry: {
|
||||
calculateDelay: retry => {
|
||||
if (
|
||||
retry.error instanceof got.HTTPError &&
|
||||
retry.error instanceof HTTPError &&
|
||||
retry.error.response.statusCode === 429
|
||||
) {
|
||||
const retryAfter = parseNumberField(
|
||||
|
||||
Reference in New Issue
Block a user