Skip to content

Commit 8ab769c

Browse files
committed
fix error in filewatch
1 parent 5623a84 commit 8ab769c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

script/filewatch.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ local function isExists(filename)
1616
if plat.OS ~= 'Windows' then
1717
return true
1818
end
19-
local suc, res = pcall(fs.fullpath, path)
20-
if not suc then
19+
local res = fs.fullpath(path)
20+
if not res then
2121
return false
2222
end
2323
if res :string():gsub('^%w+:', string.lower)

0 commit comments

Comments
 (0)