Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
[autofix.ci] apply automated fixes
  • Loading branch information
autofix-ci[bot] authored Mar 8, 2025
commit d744441a4b4e42ea1b9259fde47a5bf4152b98e0
4 changes: 1 addition & 3 deletions crates/oxc_linter/src/rules/promise/no_return_wrap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@ fn no_return_wrap_diagnostic(span: Span, issue: &ReturnWrapper) -> OxcDiagnostic
};

let help_msg = match issue {
ReturnWrapper::Resolve => {
"Return the value being passed into Promise.resolve instead"
}
ReturnWrapper::Resolve => "Return the value being passed into Promise.resolve instead",
ReturnWrapper::Reject => "Throw the value being passed into Promise.reject instead",
};

Expand Down