Skip to content

Commit

Permalink
Update Ky.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
jadedevin13 authored Dec 1, 2024
1 parent fdd668d commit 10d4cd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/core/Ky.ts
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ export class Ky {
try {
const jsonString = JSON.stringify(body);
return new TextEncoder().encode(jsonString).length;
} catch (error) {
} catch (_error) {

Check failure on line 436 in source/core/Ky.ts

View workflow job for this annotation

GitHub Actions / Node.js 18

Remove unused catch binding `_error`.
return 0;
}
}
Expand Down

0 comments on commit 10d4cd8

Please sign in to comment.