From 02b373942c8be088e61b6088c2ca943ecb1d5b8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Fri, 20 Nov 2020 23:20:50 +0800 Subject: fix bug of workspace.isIgnored --- script/workspace/workspace.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/workspace/workspace.lua b/script/workspace/workspace.lua index 96b982b8..cfc94012 100644 --- a/script/workspace/workspace.lua +++ b/script/workspace/workspace.lua @@ -155,7 +155,7 @@ end --- 文件是否被忽略 function m.isIgnored(uri) - local path = furi.decode(uri) + local path = m.getRelativePath(uri) local ignore = m.getNativeMatcher() if not ignore then return false -- cgit v1.2.3