Skip to content

Commit

Permalink
fix: rule_set must be not null
Browse files Browse the repository at this point in the history
  • Loading branch information
purofle committed Feb 17, 2024
1 parent 9d2cdab commit 2f358dd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,7 @@ fun buildConfig(
makeSingBoxRule(rule.ip.listByLineOrComma(), true)
}

generateRuleSet(ruleSets)
if (rule_set != null) generateRuleSet(ruleSets)

if (rule.port.isNotBlank()) {
port = mutableListOf<Int>()
Expand Down

0 comments on commit 2f358dd

Please sign in to comment.