From 01d520767973b323a79817d29c0fa52998b42dd3 Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Mon, 27 Mar 2023 15:43:18 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20=E6=94=B9=E8=BF=9B=20Windows=20?= =?UTF-8?q?=E7=AB=AF=E7=AC=AC=E4=B8=89=E6=96=B9=E5=90=8C=E6=AD=A5=E7=9B=98?= =?UTF-8?q?=E6=A3=80=E6=B5=8B=20Fix=20https://github.com/siyuan-note/siyua?= =?UTF-8?q?n/issues/7777?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kernel/util/runtime.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/util/runtime.go b/kernel/util/runtime.go index 2e3b738b8..322c92fbf 100644 --- a/kernel/util/runtime.go +++ b/kernel/util/runtime.go @@ -331,7 +331,7 @@ func existAvailabilityStatus(workspaceAbsPath string) bool { } folderObj := result.ToIDispatch() - result = oleutil.MustCallMethod(folderObj, "ParseName", file) + result, err = oleutil.CallMethod(folderObj, "ParseName", file) if nil != err { logging.LogWarnf("call shell [ParseName] failed: %s", err) return false