From 39aefb95c2ede47dd638cc4fa0ad8517f7804b61 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Tue, 12 Dec 2017 11:12:23 -0500 Subject: [PATCH] fix: allow applications to begin with numeric values --- plugins/common/common.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/common/common.go b/plugins/common/common.go index d0a39c15d..38b9c2446 100644 --- a/plugins/common/common.go +++ b/plugins/common/common.go @@ -330,7 +330,7 @@ func VerifyAppName(appName string) (err error) { if !DirectoryExists(appRoot) { return fmt.Errorf("app %s does not exist: %v", appName, err) } - r, _ := regexp.Compile("^[a-z].*") + r, _ := regexp.Compile("^[a-z0-9].*") if !r.MatchString(appName) { return fmt.Errorf("app name (%s) must begin with lowercase alphanumeric character", appName) }