Skip to content

Commit

Permalink
docs: readme tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Ashworth committed Aug 2, 2016
1 parent 0feaa36 commit e5a2193
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -46,7 +46,7 @@ const result = tryy(
() => ['Success', readFile()],
err => ['Failure', err],
() => closeFile()
); // => ['Failure', err];
); // => ['Failure', err]
```

Note that, to avoid [confusing JavaScript behaviour](http://eslint.org/docs/rules/no-unsafe-finally) you *cannot* return a value from `finally`.
Expand Down

0 comments on commit e5a2193

Please sign in to comment.