Forgot to toggle
All checks were successful
NodBot Production Dockerization / build (push) Successful in 55s

This commit is contained in:
Skylar Grant 2023-08-06 09:04:24 -04:00
parent 10021d6926
commit 1bff94e71b

View File

@ -645,8 +645,10 @@ const functions = {
} }
if (lastIsUpper === 0) { if (lastIsUpper === 0) {
newText += letter.toUpperCase(); newText += letter.toUpperCase();
lastIsUpper = 1;
} else { } else {
newText += letter.toLowerCase(); newText += letter.toLowerCase();
lastIsUpper = 0;
} }
} }