From 69366108427e151a29583682c3260fdd18afccf6 Mon Sep 17 00:00:00 2001 From: Chikage Date: Sun, 18 Sep 2022 14:38:07 +0800 Subject: [PATCH] fix: no panic in removeEmptyFolder --- util/file.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/file.go b/util/file.go index 1bc6e8c..a9c4b04 100644 --- a/util/file.go +++ b/util/file.go @@ -56,7 +56,7 @@ func RemoveEmptyDir(dir string) { return err }) if err != nil { - panic(err) + fmt.Println(err) } fileNamesAll := strings.Join(fileNames, "")