Skip to content

Commit d37c499

Browse files
authored
Revert "Bump p-retry from 4.6.2 to 6.2.1" (#343)
1 parent a642bcb commit d37c499

File tree

4 files changed

+41
-24
lines changed

4 files changed

+41
-24
lines changed

__mocks__/p-retry.ts

Lines changed: 0 additions & 8 deletions
This file was deleted.

package-lock.json

Lines changed: 39 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1440,7 +1440,7 @@
14401440
"node-ipc": "^9.2.1",
14411441
"p-cancelable": "^2.0.0",
14421442
"p-queue": "^6.3.0",
1443-
"p-retry": "^6.2.1",
1443+
"p-retry": "^4.2.0",
14441444
"p-settle": "^3.1.0",
14451445
"p-timeout": "^3.2.0",
14461446
"path-browserify": "^1.0.1",

src/util/online.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ export class OnlineDetector extends Disposable {
9797
`Online check attempt ${error.attemptNumber} failed. There are ${error.retriesLeft} retries left.`,
9898
);
9999
},
100-
}).catch(() => false);
100+
} as pRetry.Options).catch(() => false);
101101
}
102102

103103
private async checkOnlineStatus() {

0 commit comments

Comments
 (0)