fix(cmd): adjust an accidentally-global function

This commit is contained in:
Chris Antos 2022-10-15 15:18:30 -07:00 committed by Jan De Dobbeleer
parent f2027173fb
commit 450ee25f77

View file

@ -1,7 +1,6 @@
-- Helper functions
-- REVIEW: Why is this a global function? Should it be local?
function get_priority_number(name, default)
local function get_priority_number(name, default)
local value = os.getenv(name)
if os.envmap ~= nil and type(os.envmap) == 'table' then
local t = os.envmap[name]