fix: allow blank names in GropifyConfig validation

This commit is contained in:
2025-11-15 22:05:57 +08:00
parent 00dfe1db93
commit c5c23a0794

View File

@@ -546,7 +546,7 @@ open class GropifyConfigureExtension internal constructor() {
*/
internal fun build(settings: Settings): GropifyConfig {
fun String.checkingStartWithLetter(description: String) {
Gropify.require(isStartsWithLetter()) {
Gropify.require(isBlank() || isStartsWithLetter()) {
"$description name \"$this\" must start with a letter."
}
}