Skip to content

Commit

Permalink
[minor] typo
Browse files Browse the repository at this point in the history
  • Loading branch information
blakmatrix committed Mar 15, 2013
1 parent ff4543e commit e3ece90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/jitsu/package.js
Expand Up @@ -563,7 +563,7 @@ package.properties = function (dir) {
validator: function(s){
var reValidSubdomain = /^[a-zA-Z]$|^[a-zA-Z][a-zA-Z\d]$|^[a-zA-Z][\w\-]{1,61}[a-zA-Z\d]$/;
if(s.indexOf('.') !== -1) { // We will support multiple level subdomains this for now warn user...
jitsu.log.warn("**WARNING** Do not use multiple level subdomains, they wll be going away soon!");
jitsu.log.warn("**WARNING** Do not use multiple level subdomains, they will be going away soon!");
var subdomainNames = s.split('.'),
names = subdomainNames.map(punycode.toASCII);
return !names.some(function(name){return !reValidSubdomain.test(name);});
Expand Down

0 comments on commit e3ece90

Please sign in to comment.