diff --git a/src/core/operations/ToUpperCase.mjs b/src/core/operations/ToUpperCase.mjs index 08ffce87..eb0e315a 100644 --- a/src/core/operations/ToUpperCase.mjs +++ b/src/core/operations/ToUpperCase.mjs @@ -37,9 +37,6 @@ class ToUpperCase extends Operation { * @returns {string} */ run(input, args) { - if (!args || args.length === 0) { - throw new OperationException("No capitalization scope was provided."); - } const scope = args[0]; if (scope === "All") { return input.toUpperCase();