Skip to content

Commit

Permalink
Ignore some LuaLS warnings
Browse files Browse the repository at this point in the history
Warnings got triggered by DeadlyBossMods/DBM-Unified#449
  • Loading branch information
emmericp committed Mar 3, 2024
1 parent ed066b2 commit e680e5c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions DBM-Raids-Vanilla/BWL/Chromaggus.lua
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ local function update_vulnerability(self)
timerVuln:UpdateIcon(info[3])
timerVuln:UpdateName(name)
if not lastVulnName or lastVulnName ~= name then
---@diagnostic disable-next-line: inject-field
warnVuln.icon = info[3]
warnVuln:Show(name)
lastVulnName = name
Expand Down
1 change: 1 addition & 0 deletions DBM-Raids-Vanilla/BWL/TalonGuards.lua
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ local function update_vulnerability(self)
local name = L[info[1]] or info[1]

if not lastAnnounce[target] or lastAnnounce[target] ~= name then
---@diagnostic disable-next-line: inject-field
warnVuln.icon = info[3]
warnVuln:Show(name)
lastAnnounce[target] = name
Expand Down

0 comments on commit e680e5c

Please sign in to comment.