Skip to content

Commit

Permalink
chore: remove extra and operator
Browse files Browse the repository at this point in the history
  • Loading branch information
roggervalf authored Jan 17, 2025
1 parent 66f63a2 commit 1bed1a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/addJobScheduler-6.lua
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ local prevMillis = rcall("ZSCORE", repeatKey, jobSchedulerId)
if prevMillis ~= false then
local prevDelayedJobId = "repeat:" .. jobSchedulerId .. ":" .. prevMillis

if rcall("ZSCORE", delayedKey, prevDelayedJobId) ~= false and then
if rcall("ZSCORE", delayedKey, prevDelayedJobId) ~= false then
removeJob(prevDelayedJobId, true, prefixKey, true --[[remove debounce key]])
rcall("ZREM", delayedKey, prevDelayedJobId)
end
Expand Down

0 comments on commit 1bed1a9

Please sign in to comment.