Skip to content

Conversation

@tagliala
Copy link
Contributor

Maybe because of some false negatives affecting conditionals

Ref: rubocop/rubocop-performance#152

Why and what is being done.

Pre-Merge Checklist

  • CHANGELOG.md updated with short summary

@grosser
Copy link
Contributor

grosser commented Dec 13, 2024

CI disagrees :)

Maybe because of some false negatives affecting conditionals

Ref: rubocop/rubocop-performance#152
@tagliala tagliala force-pushed the chore/fix-match-missed branch from 59cd4fe to f6addfb Compare December 13, 2024 18:33
@tagliala
Copy link
Contributor Author

Ah, sorry, typo with autocomplete

-tokens
+token

end
end
elsif in_charset or token =~ /@charset/i
elsif in_charset or /@charset/i.match?(token)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just to mention, does not seem that the second condition is covered by tests

@grosser grosser merged commit 54b8ea5 into premailer:master Dec 14, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants