Skip to content

Commit

Permalink
✏️ fixed the catchBlock docs
Browse files Browse the repository at this point in the history
  • Loading branch information
vivek12345 committed Feb 3, 2019
1 parent f101a5f commit 6821121
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 @@ -71,7 +71,7 @@ If you want to replace the default `console.log(e)` with your custom function ca
you can pass that as an option `--catchBlock`

```sh
jscodeshift -t transforms/async-await-with-try-catch.js <path> --catchBlock=error.handleError
jscodeshift -t transforms/async-await-with-try-catch.js <path> --catchBlock="error.handleError"
```

This will transform your code to:-
Expand Down

0 comments on commit 6821121

Please sign in to comment.