mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-12-31 22:07:25 -08:00
fix(cmd): adjust an accidentally-global function
This commit is contained in:
parent
f2027173fb
commit
450ee25f77
|
@ -1,7 +1,6 @@
|
||||||
-- Helper functions
|
-- Helper functions
|
||||||
|
|
||||||
-- REVIEW: Why is this a global function? Should it be local?
|
local function get_priority_number(name, default)
|
||||||
function get_priority_number(name, default)
|
|
||||||
local value = os.getenv(name)
|
local value = os.getenv(name)
|
||||||
if os.envmap ~= nil and type(os.envmap) == 'table' then
|
if os.envmap ~= nil and type(os.envmap) == 'table' then
|
||||||
local t = os.envmap[name]
|
local t = os.envmap[name]
|
||||||
|
|
Loading…
Reference in a new issue