Browse Source

Allow / in namespace for those who want hierarchical one

Herbert Vojčík 11 năm trước cách đây
mục cha
commit
ea50185327
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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'),