Skip to content

Commit

Permalink
Remove useless comment
Browse files Browse the repository at this point in the history
  • Loading branch information
TheophileDiot committed Oct 12, 2023
1 parent 362433c commit 7930279
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion discord/discord.lua
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ function discord:log(bypass_use_discord)
end

-- luacheck: ignore 212
function discord.send(premature, self, data) -- TODO: premature is not used, remove it if possible
function discord.send(premature, self, data)
local httpc, err = http.new()
if not httpc then
self.logger:log(ngx.ERR, "can't instantiate http object : " .. err)
Expand Down
2 changes: 1 addition & 1 deletion slack/slack.lua
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ function slack:log(bypass_use_slack)
end

-- luacheck: ignore 212
function slack.send(premature, self, data) -- TODO: premature is not used, remove it if possible
function slack.send(premature, self, data)
local httpc, err = http.new()
if not httpc then
self.logger:log(ngx.ERR, "can't instantiate http object : " .. err)
Expand Down
2 changes: 1 addition & 1 deletion webhook/webhook.lua
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ function webhook:log(bypass_use_webhook)
end

-- luacheck: ignore 212
function webhook.send(premature, self, data) -- TODO: premature is not used, remove it if possible
function webhook.send(premature, self, data)
local httpc, err = http.new()
if not httpc then
self.logger:log(ngx.ERR, "can't instantiate http object : " .. err)
Expand Down

0 comments on commit 7930279

Please sign in to comment.