Skip to content

Commit

Permalink
config: Skip magwell check if no prefix defined
Browse files Browse the repository at this point in the history
  • Loading branch information
PabstMirror committed Jan 16, 2025
1 parent 62cc0ba commit 0b91ae7
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ impl LintRunner<LintData> for Runner {
continue;
};
if let Some(project) = project {
if project.prefix().is_empty() { continue; }
if !value
.to_lowercase()
.starts_with(&project.prefix().to_lowercase())
Expand Down

0 comments on commit 0b91ae7

Please sign in to comment.