summaryrefslogtreecommitdiff
path: root/script/filewatch.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/filewatch.lua')
-rw-r--r--script/filewatch.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/filewatch.lua b/script/filewatch.lua
index d4850ca1..6520afe6 100644
--- a/script/filewatch.lua
+++ b/script/filewatch.lua
@@ -13,7 +13,7 @@ local function isExists(filename)
if not suc or not exists then
return false
end
- if plat.OS ~= 'Windows' then
+ if plat.os ~= 'windows' then
return true
end
local res = fs.fullpath(path)