Skip to content

Commit

Permalink
Added missing )
Browse files Browse the repository at this point in the history
  • Loading branch information
KlasafGeijerstam committed Jun 26, 2017
1 parent dbf4f6b commit ac2bcee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/key_generators/dictionary.js
Expand Up @@ -24,7 +24,7 @@ var DictionaryGenerator = function(options) {
DictionaryGenerator.prototype.createKey = function(keyLength) {
var text = '';
for(var i = 0; i < keyLength; i++)
text += this.dictionary[Math.floor(Math.random()*this.dictionary.length];
text += this.dictionary[Math.floor(Math.random()*this.dictionary.length)];
return text;
};

Expand Down

0 comments on commit ac2bcee

Please sign in to comment.