Skip to content

Commit

Permalink
simpler
Browse files Browse the repository at this point in the history
  • Loading branch information
joaojeronimo committed Jan 20, 2014
1 parent afcf827 commit 46edc90
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions request.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,7 @@ if (https && !https.Agent) {
}

function isReadStream (rs) {
if (rs.readable && rs.path && rs.mode) {
return true
}
return rs.readable && rs.path && rs.mode;
}

function toBase64 (str) {
Expand Down

0 comments on commit 46edc90

Please sign in to comment.