diff --git a/encryptallthings.js b/encryptallthings.js index f5dafb6..bdabdea 100644 --- a/encryptallthings.js +++ b/encryptallthings.js @@ -6,7 +6,7 @@ const workshop = require('workshopper-adventure')({ }) workshop.addAll([ - 'CAESER_CYPHER' + 'CAESAR_CIPHER' ]) module.exports = workshop diff --git a/exercises/caeser_cypher/exercise.js b/exercises/caesar_cipher/exercise.js similarity index 100% rename from exercises/caeser_cypher/exercise.js rename to exercises/caesar_cipher/exercise.js diff --git a/exercises/caeser_cypher/problem.md b/exercises/caesar_cipher/problem.md similarity index 100% rename from exercises/caeser_cypher/problem.md rename to exercises/caesar_cipher/problem.md diff --git a/exercises/caeser_cypher/solution/solution.js b/exercises/caesar_cipher/solution/solution.js similarity index 88% rename from exercises/caeser_cypher/solution/solution.js rename to exercises/caesar_cipher/solution/solution.js index fc5afa7..a07d0d8 100644 --- a/exercises/caeser_cypher/solution/solution.js +++ b/exercises/caesar_cipher/solution/solution.js @@ -1,6 +1,6 @@ var arg = process.argv[2]; -function caesarCypher(text, shift) { +function caesarCipher(text, shift) { if (shift < 0) return caeserShift(str, shift + 26); @@ -24,5 +24,5 @@ function caesarCypher(text, shift) { return output; } -var result = caesarCypher(arg, 4); +var result = caesarCipher(arg, 4); console.log(result);