Skip to content

Commit

Permalink
making mode_select work and removing module shell function from tests…
Browse files Browse the repository at this point in the history
… with better test
  • Loading branch information
Robert McLay committed Feb 18, 2025
1 parent e57a675 commit 293442c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/modfuncs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,10 @@ local function l_checkForbiddenEnv(argT)
if (not argT.modeA or type(argT.modeA) ~= "table" or #argT.modeA == 0) then
return true
end
if (argT.modeA and type(argT.modeA) == "table" and #argT.modeA == 1 and argT.modeA[1] == "normal") then
--if (argT.modeA and type(argT.modeA) == "table" and #argT.modeA == 1 and argT.modeA[1] == "normal") then
-- return true
--end
if (#argT.modeA == 1 and argT.modeA[1] == "normal") then
return true
end

Expand Down

0 comments on commit 293442c

Please sign in to comment.