Skip to content

Commit

Permalink
Removing legacy call to sys.puts
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeal committed Sep 17, 2011
1 parent f551a2f commit d8c53fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Request is designed to be the simplest way possible to make http calls. It suppo
var request = require('request');
request('http://www.google.com', function (error, response, body) {
if (!error && response.statusCode == 200) {
sys.puts(body) // Print the google web page.
console.log(body) // Print the google web page.
}
})
```
Expand Down

0 comments on commit d8c53fc

Please sign in to comment.