summaryrefslogtreecommitdiff
path: root/script/proto
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/proto
parentfec4e41cc15e689d62f1fee50295abca4e72056e (diff)
downloadlua-language-server-ab34c3f920a5a20a284e67ebbc3dc53df89e00f6.zip
platform.OS -> platform.os
Diffstat (limited to 'script/proto')
-rw-r--r--script/proto/proto.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/proto/proto.lua b/script/proto/proto.lua
index 2460b4ec..b0d5d1a9 100644
--- a/script/proto/proto.lua
+++ b/script/proto/proto.lua
@@ -232,7 +232,7 @@ end
function m.listen(mode, socketPort)
m.mode = mode
if mode == 'stdio' then
- if platform.OS == 'Windows' then
+ if platform.os == 'windows' then
local windows = require 'bee.windows'
windows.filemode(io.stdin, 'b')
windows.filemode(io.stdout, 'b')