Skip to content

Commit

Permalink
chore: lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nilshah98 committed Nov 17, 2023
1 parent 9134051 commit fa0f5f3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/core/src/network.js
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ export class Network {
// Called when a request will be sent. If the request has already been intercepted, handle it;
// otherwise set it to be pending until it is paused.
_handleRequestWillBeSent = async event => {
let { requestId, request, type} = event;
let { requestId, request, type } = event;

// do not handle data urls
if (request.url.startsWith('data:')) return;
Expand All @@ -185,7 +185,7 @@ export class Network {
this.#intercepts.delete(requestId);
} else {
let session;
await this._handleRequest(session, {...event, resourceType: type, interceptId: requestId}, true);
await this._handleRequest(session, { ...event, resourceType: type, interceptId: requestId }, true);
}
}
}
Expand All @@ -211,7 +211,7 @@ export class Network {
request.redirectChain = redirectChain;
this.#requests.set(requestId, request);

if(!serviceWorker){
if (!serviceWorker) {
await sendResponseResource(this, request, session);
}
}
Expand Down

0 comments on commit fa0f5f3

Please sign in to comment.