From 446bcc126d86e4da9286ce69ad96942ed8bc9485 Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Wed, 22 Mar 2023 18:16:47 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20=E6=95=B0=E6=8D=AE=E5=90=8C=E6=AD=A5?= =?UTF-8?q?=E5=BF=BD=E7=95=A5=E7=94=A8=E4=BA=8E=E6=96=87=E4=BB=B6=E7=B3=BB?= =?UTF-8?q?=E7=BB=9F=E6=A3=80=E6=9F=A5=E7=9A=84=E6=96=87=E4=BB=B6=20https:?= =?UTF-8?q?//github.com/siyuan-note/siyuan/issues/7744?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kernel/model/repository.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/model/repository.go b/kernel/model/repository.go index e680c2989..2bcc98e49 100644 --- a/kernel/model/repository.go +++ b/kernel/model/repository.go @@ -331,7 +331,7 @@ func statTypesByPath(files []*entity.File) (ret []*TypeCount) { for _, f := range files { ext := path.Ext(f.Path) if "" == ext { - ext = "noExt" + ext = "NoExt" } found := false