Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

Commit

Permalink
fix regression
Browse files Browse the repository at this point in the history
  • Loading branch information
ematipico committed Mar 17, 2023
1 parent bd7c7dc commit 655eb19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/rome_lsp/src/handlers/analysis.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ pub(crate) fn code_actions(
feature: FeatureName::OrganizeImports,
})?;

if unsupported_lint.is_not_supported() || unsupported_organize_imports.is_not_supported() {
if unsupported_lint.is_not_supported() && unsupported_organize_imports.is_not_supported() {
return Ok(Some(Vec::new()));
}

Expand Down

0 comments on commit 655eb19

Please sign in to comment.