Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] main from gkd-kit:main #12

Merged
merged 9 commits into from
Dec 27, 2023
Prev Previous commit
Next Next commit
perf: 优化订阅校验错误提示
  • Loading branch information
lisonge committed Dec 27, 2023
commit b0131ecd5be8ad5ce176558386ac3a1634cdc6c4
4 changes: 2 additions & 2 deletions app/src/main/kotlin/li/songe/gkd/data/RawSubscription.kt
Original file line number Diff line number Diff line change
Expand Up @@ -570,11 +570,11 @@ data class RawSubscription(
}
subscription.apps.forEach { a ->
a.groups.findDuplicatedItem { v -> v.key }?.let { v ->
error("duplicated app group: key=${v.key}")
error("duplicated app group: key=${v.key}, appId=${a.id}")
}
a.groups.forEach { g ->
g.rules.findDuplicatedItem { v -> v.key }?.let { v ->
error("duplicated app rule: key=${v.key}, groupKey=${g.key}, appId=${a.id} ")
error("duplicated app rule: key=${v.key}, groupKey=${g.key}, appId=${a.id}")
}
}
}
Expand Down