Skip to content

Commit

Permalink
Update catch_or_return.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Cam McHenry <[email protected]>
  • Loading branch information
DonIsaac and camchenry authored Sep 22, 2024
1 parent aae7e50 commit b455bec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/oxc_linter/src/rules/promise/catch_or_return.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ impl std::ops::Deref for CatchOrReturn {
declare_oxc_lint!(
/// ### What it does
///
/// Ensure that each time a `then()`` is applied to a promise, a `catch()``
/// Ensure that each time a `then()` is applied to a promise, a `catch()`
/// must be applied as well. Exceptions are made for promises returned from
/// a function.
///
Expand Down

0 comments on commit b455bec

Please sign in to comment.