mirror of
https://github.com/gchq/CyberChef.git
synced 2025-05-09 07:45:00 -04:00
Revert "Added more error-handling to ToUpperCase()"
This reverts commit ed542582f9
.
This commit is contained in:
parent
0fce9ccced
commit
61a19e45cc
1 changed files with 0 additions and 3 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue