Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo for no-unsafe-finally #10945

Merged
merged 1 commit into from Oct 9, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/rules/no-unsafe-finally.md
Expand Up @@ -49,7 +49,7 @@ JavaScript suspends the control flow statements of `try` and `catch` blocks unti
// We expect this function to return 0 from try block.
(() => {
label: try {
return 0; // 1 is returned but suspended until finally block ends
return 0; // 0 is returned but suspended until finally block ends
} finally {
break label; // It breaks out the try-finally block, before 0 is returned.
}
Expand Down