Skip to content

Commit

Permalink
fix(lint): luacheck ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
solareon committed Sep 6, 2024
1 parent d8bace8 commit cb72814
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client/utils.lua
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ end

function Utils.registerNetEvent(event, fn)
RegisterNetEvent(event, function(...)
if source ~= '' then fn(...) end
if source ~= '' then fn(...) end -- luacheck: ignore
end)
end

Expand Down
2 changes: 1 addition & 1 deletion server/duty.lua
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ end

local function addPolice(source)
if not isCopOnDuty(source) then
local playerData = Renewed.getPlayer(source)
local playerData = Renewed.getPlayer(source) -- luacheck: ignore

if not playerData then
return
Expand Down

0 comments on commit cb72814

Please sign in to comment.