Skip to content

Conversation

@stephen-carter-at-sf
Copy link
Contributor

…ine configs in favor of just having them all enabled all the time

…ine configs in favor of just having them all enabled all the time
.map(ruleName => fetchRuleInfoByRuleName(ruleInfoList, ruleName))
.filter(ruleInfo => ruleInfo !== null);

if (selectedRuleInfoList.length === 0) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Small optimization that I noticed while I was in here... doing a quick return when there are zero rules to run.

@stephen-carter-at-sf stephen-carter-at-sf merged commit 84df89c into dev Dec 6, 2024
5 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.

3 participants