Skip to content
This repository has been archived by the owner on Sep 6, 2018. It is now read-only.

Commit

Permalink
fix browser build
Browse files Browse the repository at this point in the history
  • Loading branch information
devsnek committed Feb 23, 2018
1 parent a281002 commit 98cba31
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,6 @@ class Snekfetch extends transport.Parent {
} else {
this.options.data = data;
}
try {
this.set('Content-Length', Buffer.byteLength(this.options.data));
} catch (err) {} // eslint-disable-line no-empty
return this;
}

Expand Down

0 comments on commit 98cba31

Please sign in to comment.