From 90510128c40871ad3d23ee22e8355127c873f7a3 Mon Sep 17 00:00:00 2001 From: Celestino Amoroso Date: Fri, 24 Oct 2025 14:47:21 +0200 Subject: [PATCH] os-util.go: corretta l'iniziale dei mesaggi d'errore (dev'essere minuscola) --- os-util.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/os-util.go b/os-util.go index 228388c..bb9c03b 100644 --- a/os-util.go +++ b/os-util.go @@ -132,7 +132,7 @@ func MakeParentDir(filePath string) (dir string, err error) { dir = filepath.Dir(filePath) if !IsDirectory(dir) { if err1 := os.MkdirAll(dir, 0755); err1 != nil { - err = fmt.Errorf("Can't make parent path of %#v: %v", filePath, err1) + err = fmt.Errorf("can't make parent path of %#v: %v", filePath, err1) } } return @@ -157,7 +157,7 @@ func ExpandFilePathAndMakeParentV(specPath string, maps ...map[string]string) (e func MakeDir(dirPath string) (err error) { if !IsDirectory(dirPath) { if err1 := os.MkdirAll(dirPath, 0755); err1 != nil { - err = fmt.Errorf("Can't make directory path %#v: %v", dirPath, err1) + err = fmt.Errorf("can't make directory path %#v: %v", dirPath, err1) } } return