From 450ee25f77285abacbb83b00a8f6395bfaacaacb Mon Sep 17 00:00:00 2001 From: Chris Antos Date: Sat, 15 Oct 2022 15:18:30 -0700 Subject: [PATCH] fix(cmd): adjust an accidentally-global function --- src/shell/scripts/omp.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/shell/scripts/omp.lua b/src/shell/scripts/omp.lua index 9870138f..a686a658 100644 --- a/src/shell/scripts/omp.lua +++ b/src/shell/scripts/omp.lua @@ -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]