Skip to content

Commit

Permalink
removes unused "maxLoremLength" variable
Browse files Browse the repository at this point in the history
  • Loading branch information
mikesealey committed Jul 4, 2024
1 parent 30a6b6a commit 6e045f3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/string.js
Original file line number Diff line number Diff line change
Expand Up @@ -821,7 +821,6 @@ helpers.uppercase = function(str) {


helpers.lorem = function(num) {
const maxLoremLength = 100_000
// Sad Path - Not a number, or not greater than 1, or not truthy
if (isNaN(num) || num < 1 || !num ) {
num = 11
Expand Down

0 comments on commit 6e045f3

Please sign in to comment.