Explorar o código

Allow / in namespace for those who want hierarchical one

Herbert Vojčík %!s(int64=11) %!d(string=hai) anos
pai
achega
ea50185327
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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'),