Skip to content

Commit 2107c1c

Browse files
committed
fix
1 parent df8d04b commit 2107c1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

script/files.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ function m.close(uri)
8080
file.trusted = false
8181
end
8282
m.onWatch('close', uri)
83-
if (file._ref or 0) <= 0 and not file.isOpen(uri) then
83+
if (file._ref or 0) <= 0 and not m.isOpen(uri) then
8484
m.remove(uri)
8585
end
8686
end

0 commit comments

Comments
 (0)