From cc97259ed0d37d964e16bc37c0be3e9e982e719f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Mon, 24 Jun 2019 16:28:18 +0800 Subject: =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/src/service.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server') diff --git a/server/src/service.lua b/server/src/service.lua index 5ed235c9..d2232086 100644 --- a/server/src/service.lua +++ b/server/src/service.lua @@ -211,7 +211,7 @@ end ---@param uri uri function mt:close(uri) self._files:close(uri) - if not self:isLua() or self:isIgnored(uri) then + if not self:isLua(uri) or self:isIgnored(uri) then self:removeText(uri) end end -- cgit v1.2.3