Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

Commit aec4e7b

Browse files
authored
Merge pull request #21 from mnottale/validateappname-error-message
ValidateAppName: Nicer error message.
2 parents d110f34 + d86c5af commit aec4e7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/names.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ func ValidateAppName(appName string) error {
2828
return nil
2929
}
3030
return fmt.Errorf(
31-
"invalid app name: %s ; app names must match the following regexp: %q",
31+
"invalid app name: %s ; app names must start with a letter, and must contain only letters, numbers, '-' and '_' (regexp: %q)",
3232
appName,
3333
appNameRe.String(),
3434
)

0 commit comments

Comments
 (0)