Skip to content

Commit

Permalink
fix: whoops, screwed up my character group
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Coe committed Oct 20, 2016
1 parent 9560530 commit 68635d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion npm-user-validate.js
Expand Up @@ -17,7 +17,7 @@ var requirements = exports.requirements = {

var illegalCharacterRe = new RegExp('([' + [
"'"
].join(',') + '])')
].join() + '])')

function username (un) {
if (un !== un.toLowerCase()) {
Expand Down

0 comments on commit 68635d9

Please sign in to comment.