Skip to content

Commit

Permalink
Fix typo in README.md
Browse files Browse the repository at this point in the history
remove bad parameter in catch block
  • Loading branch information
franklsm1 committed Nov 22, 2016
1 parent 1389cf7 commit b5e33ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ var options = {
};

rp(options)
.catch(errors.TransformError, function (reason) {
.catch(function (reason) {
console.log(reason.cause.message); // => Transform failed!
// reason.response is the original response for which the transform operation failed
});
Expand Down Expand Up @@ -660,4 +660,4 @@ If you want to debug a test you should use `gulp test-without-coverage` to run a

In case you never heard about the [ISC license](http://en.wikipedia.org/wiki/ISC_license) it is functionally equivalent to the MIT license.

See the [LICENSE file](LICENSE) for details.
See the [LICENSE file](LICENSE) for details.

0 comments on commit b5e33ec

Please sign in to comment.