mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-12-28 20:39:40 -08:00
fix(cmd): adjust an accidentally-global function
This commit is contained in:
parent
f2027173fb
commit
450ee25f77
|
@ -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]
|
||||
|
|
Loading…
Reference in a new issue