Skip to content

Commit

Permalink
Merge branch 'bug-substitute'
Browse files Browse the repository at this point in the history
  • Loading branch information
n1474335 committed Aug 25, 2017
2 parents 33b606d + d6705c6 commit a5ed824
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/operations/Cipher.js
Original file line number Diff line number Diff line change
Expand Up @@ -766,8 +766,8 @@ const Cipher = {
* @returns {string}
*/
runSubstitute: function (input, args) {
let plaintext = Utils.expandAlphRange(args[0]).join(),
ciphertext = Utils.expandAlphRange(args[1]).join(),
let plaintext = Utils.expandAlphRange(args[0]).join(""),
ciphertext = Utils.expandAlphRange(args[1]).join(""),
output = "",
index = -1;

Expand Down

0 comments on commit a5ed824

Please sign in to comment.