Browse Source

Allow / in namespace for those who want hierarchical one

Herbert Vojčík 11 years ago
parent
commit
ea50185327
1 changed files with 1 additions and 1 deletions
  1. 1 1
      template.js

+ 1 - 1
template.js

@@ -36,7 +36,7 @@ exports.template = function(grunt, init, done) {
     {
       name: 'namespace',
       message: 'Namespace of the new Amber package.',
-      validator: /^[a-z][a-z0-9\-]*$/,
+      validator: /^[a-z][a-z0-9/\-]*$/,
       warning: 'Only lowercase letters, numbers, and - are allowed in namespaces!'
     },
     init.prompt('version'),