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

Commit d86c5af

Browse files
author
Matthieu Nottale
committed
ValidateAppName: Nicer error message.
Signed-off-by: Matthieu Nottale <[email protected]>
1 parent d110f34 commit d86c5af

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)