Skip to content

Commit

Permalink
Change to single line
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamWr committed Mar 21, 2024
1 parent 729279f commit 4b5524e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/scriptlets/json-prune-xhr-response.ts
Original file line number Diff line number Diff line change
Expand Up @@ -222,10 +222,7 @@ export function jsonPruneXhrResponse(

// Extract content from response
const content = responseText || response;
if (
typeof content !== 'string'
&& typeof content !== 'object'
) {
if (typeof content !== 'string' && typeof content !== 'object') {
return;
}

Expand Down

0 comments on commit 4b5524e

Please sign in to comment.