Skip to content

Commit b757445

Browse files
authored
Merge pull request #16 from p-wall/patch-1
include numerics in alphanumerics
2 parents 507b74b + 3fe8e1d commit b757445

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

k

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2183,7 +2183,7 @@ def generate_application
21832183

21842184
application = ARGV.delete_at(0)
21852185
abort "Must pass name of application to generate, eg. k generate application <application-name>" unless application
2186-
abort "Error: Application name must only contain lower-case alphanumeric characters or '-'" unless application[/^[a-z-]+$/]
2186+
abort "Error: Application name must only contain lower-case alphanumeric characters or '-'" unless application[/^[a-z0-9-]+$/]
21872187

21882188
directory = "applications/#{application}"
21892189

0 commit comments

Comments
 (0)