mirror of
https://github.com/gchq/CyberChef.git
synced 2025-05-14 10:06:58 -04:00
Fix linting errors
This commit is contained in:
parent
b156fc9929
commit
9538320928
1 changed files with 2 additions and 3 deletions
|
@ -38,8 +38,7 @@ class AlternatingCaps extends Operation {
|
||||||
// Check if the element is a letter
|
// Check if the element is a letter
|
||||||
if (!RegExp(/^\p{L}/, 'u').test(input[i])) {
|
if (!RegExp(/^\p{L}/, 'u').test(input[i])) {
|
||||||
output += input[i];
|
output += input[i];
|
||||||
}
|
} else if (previousCaps) {
|
||||||
else if (previousCaps) {
|
|
||||||
output += input[i].toLowerCase();
|
output += input[i].toLowerCase();
|
||||||
previousCaps = false;
|
previousCaps = false;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue