diff --git a/bin/lib/create.js b/bin/lib/create.js index c9aa9838..16e23c2a 100755 --- a/bin/lib/create.js +++ b/bin/lib/create.js @@ -158,7 +158,7 @@ function copyScripts(projectPath) { function validatePackageName(package_name) { //Make the package conform to Java package types //Enforce underscore limitation - if (!/^[a-zA-Z]+(\.[a-zA-Z0-9][a-zA-Z0-9_]*)+$/.test(package_name)) { + if (!/^[a-zA-Z0-9]+(\.[a-zA-Z0-9][a-zA-Z0-9_]*)+$/.test(package_name)) { return Q.reject('Package name must look like: com.company.Name'); }