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 7f8aec3 commit fdd668d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion source/core/Ky.ts
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,6 @@ export class Ky {
const jsonString = JSON.stringify(body);
return new TextEncoder().encode(jsonString).length;
} 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`.
console.warn('Unable to stringify object:', error);
return 0;
}
}
Expand Down

0 comments on commit fdd668d

Please sign in to comment.