Only truncate next-gen action identifiers if they actually end in "ng"
This commit is contained in:
parent
cd6852b896
commit
8529bb0ea9
@ -55,7 +55,9 @@
|
||||
-- translate things accordingly. I'll yank this once the next-gen
|
||||
-- actions are done and official
|
||||
if a.isnextgen then
|
||||
_ACTION = _ACTION:sub(1, -3)
|
||||
if _ACTION:endswith("ng") then
|
||||
_ACTION = _ACTION:sub(1, -3)
|
||||
end
|
||||
for sln in premake.solution.each() do
|
||||
if a.onsolution then
|
||||
a.onsolution(sln)
|
||||
|
Loading…
Reference in New Issue
Block a user