Skip to content

Commit

Permalink
Fix luacheck warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Gethe committed May 30, 2023
1 parent 5e53f65 commit 32a3cbc
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 17 deletions.
3 changes: 1 addition & 2 deletions Skin/Retail/Interface/FrameXML/GuildRegistrarFrame.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ if private.shouldSkip() then return end

--[[ Core ]]
local Aurora = private.Aurora
local Base, Skin = Aurora.Base, Aurora.Skin
local Color = Aurora.Color
local Skin = Aurora.Skin

--do --[[ FrameXML\GuildRegistrarFrame.lua ]]
--end
Expand Down
1 change: 1 addition & 0 deletions Skin/Retail/Interface/FrameXML/LootHistory.lua
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
-- luacheck: ignore
local _, private = ...
if true then return end

Expand Down
2 changes: 1 addition & 1 deletion Skin/Retail/Interface/SharedXML/SharedUIPanelTemplates.lua
Original file line number Diff line number Diff line change
Expand Up @@ -804,7 +804,7 @@ do --[[ SharedXML\SharedUIPanelTemplates.xml ]]
local searchPreview = Frame.searchPreviewContainer
searchPreview:DisableDrawLayer("ARTWORK")
Skin.FrameTypeFrame(searchPreview)
local searchPreviewBG = searchPreview:GetBackdropTexture("bg")
--local searchPreviewBG = searchPreview:GetBackdropTexture("bg")
--searchPreviewBG:SetPoint("BOTTOMRIGHT", searchBox.showAllResults, 0, 0)
searchPreview.botLeftCorner:Hide()
searchPreview.botRightCorner:Hide()
Expand Down
14 changes: 0 additions & 14 deletions dev/test.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1230,20 +1230,6 @@ function commands.test()
"arena",
}

local petitionInfo = {
GetItem(24282),
GetItem(13422),
GetItem(16252),
GetItem(11815),
GetItem(14551),
GetItem(17771),

GetItem(18492),
GetItem(22727),

GetItem(401, true),
GetItem(1534, true),
}
function _G.GetPetitionInfo()
-- petitionType, title, bodyText, maxSignatures, originatorName, isOriginator, minSignatures
return petitionType, "Petition Title", "Body Text", 10, "Originator", isOriginator, 5
Expand Down

0 comments on commit 32a3cbc

Please sign in to comment.