Skip to content

Commit 94aa4bc

Browse files
committed
WIP: update BL with fixed types
1 parent 22eb3ca commit 94aa4bc

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

package-lock.json

Lines changed: 4 additions & 4 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
@@ -42,7 +42,7 @@
4242
"@devicefarmer/adbkit": "^3.2.5",
4343
"@graphql-tools/schema": "^8.5.0",
4444
"@graphql-tools/utils": "^8.8.0",
45-
"@httptoolkit/browser-launcher": "^3.0.0",
45+
"@httptoolkit/browser-launcher": "^3.0.1",
4646
"@httptoolkit/osx-find-executable": "^2.0.1",
4747
"@httptoolkit/util": "^0.1.5",
4848
"@oclif/command": "^1.5.4",

src/interceptors/chromium-based-interceptors.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ abstract class FreshChromiumBasedInterceptor implements Interceptor {
139139
await delay(1000); // No hurry, make sure the browser & related processes have all cleaned up
140140

141141
const activeBrowserCount = Object.keys(this.activeBrowsers).length;
142-
const profilePath = snapProfilePath ?? (browserDetails as any).profile;
142+
const profilePath = snapProfilePath ?? browserDetails?.profile;
143143
if (activeBrowserCount === 0 && typeof profilePath === 'string') {
144144
// If we were the last browser and we have a profile path, and it's definitely part of our
145145
// local/snap config (just in case something's gone wrong) -> delete it & reset everything.

0 commit comments

Comments
 (0)