summaryrefslogtreecommitdiff
path: root/script/workspace/workspace.lua
diff options
context:
space:
mode:
authoractboy168 <actboy168@gmail.com>2024-02-26 11:17:59 +0800
committeractboy168 <actboy168@gmail.com>2024-02-26 11:17:59 +0800
commitab34c3f920a5a20a284e67ebbc3dc53df89e00f6 (patch)
tree461921d4ad722ffddae12b2b4229fc450ddc51d4 /script/workspace/workspace.lua
parentfec4e41cc15e689d62f1fee50295abca4e72056e (diff)
downloadlua-language-server-ab34c3f920a5a20a284e67ebbc3dc53df89e00f6.zip
platform.OS -> platform.os
Diffstat (limited to 'script/workspace/workspace.lua')
-rw-r--r--script/workspace/workspace.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/script/workspace/workspace.lua b/script/workspace/workspace.lua
index 97518e84..fe7c6c15 100644
--- a/script/workspace/workspace.lua
+++ b/script/workspace/workspace.lua
@@ -188,7 +188,7 @@ function m.getNativeMatcher(scp)
local matcher = glob.gitignore(pattern, {
root = scp.uri and furi.decode(scp.uri),
- ignoreCase = platform.OS == 'Windows',
+ ignoreCase = platform.os == 'windows',
}, globInteferFace)
scp:set('nativeMatcher', matcher)
@@ -236,7 +236,7 @@ function m.getLibraryMatchers(scp)
local nPath = fs.absolute(fs.path(path)):string()
local matcher = glob.gitignore(pattern, {
root = path,
- ignoreCase = platform.OS == 'Windows',
+ ignoreCase = platform.os == 'windows',
}, globInteferFace)
matchers[#matchers+1] = {
uri = furi.encode(nPath),