summaryrefslogtreecommitdiff
path: root/meta/template/os.lua
diff options
context:
space:
mode:
authorAlexCai2019 <89138532+AlexCai2019@users.noreply.github.com>2022-05-08 01:43:28 +0800
committerGitHub <noreply@github.com>2022-05-08 01:43:28 +0800
commit0fd83c4ca9f82a02becab6c304a8a7de75098507 (patch)
treebe9790d9d4823fe728c5b36e94093fe5f42b7725 /meta/template/os.lua
parent89203efad8c9b5513e05ca4d5696107924865b10 (diff)
parent67b4c574849d1667e0ecb39c51aeed8e30b43056 (diff)
downloadlua-language-server-0fd83c4ca9f82a02becab6c304a8a7de75098507.zip
Merge branch 'sumneko:master' into master
Diffstat (limited to 'meta/template/os.lua')
-rw-r--r--meta/template/os.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/template/os.lua b/meta/template/os.lua
index af9b3278..c6af18cd 100644
--- a/meta/template/os.lua
+++ b/meta/template/os.lua
@@ -45,11 +45,11 @@ function os.difftime(t2, t1) end
---#DES 'os.execute'
---#if VERSION <= 5.1 then
----@param command string
+---@param command? string
---@return integer code
function os.execute(command) end
---#else
----@param command string
+---@param command? string
---@return boolean? suc
---@return exitcode? exitcode
---@return integer? code
@@ -69,7 +69,7 @@ function os.exit(code, close) end
---#DES 'os.getenv'
---@param varname string
----@return string
+---@return string?
---@nodiscard
function os.getenv(varname) end