Skip to content

Commit

Permalink
no point to strfind this its gonna be the same
Browse files Browse the repository at this point in the history
  • Loading branch information
kodewdle committed Mar 31, 2024
1 parent 18b599c commit 725f98e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ElvUI/Core/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ do
end

do -- this is different from E.locale because we need to convert for ace locale files
local convert = {enGB = 'enUS', esES = 'esMX', itIT = 'enUS'}
local convert = { enGB = 'enUS', esES = 'esMX', itIT = 'enUS' }
local gameLocale = convert[E.locale] or E.locale or 'enUS'

function E:GetLocale()
Expand All @@ -115,7 +115,7 @@ end

function E:ParseVersionString(addon)
local version = GetAddOnMetadata(addon, 'Version')
if strfind(version, 'project%-version') then
if version == '@project-version@' then
return 13.60, '13.60-git', nil, true
else
local release, extra = strmatch(version, '^v?([%d.]+)(.*)')
Expand Down

0 comments on commit 725f98e

Please sign in to comment.