Skip to content

Commit 317dae4

Browse files
committed
remove fixpath logs
1 parent 3b28f01 commit 317dae4

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

pkg/util/fileutil/fileutil.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ package fileutil
66
import (
77
"io"
88
"io/fs"
9-
"log"
109
"mime"
1110
"net/http"
1211
"os"
@@ -24,12 +23,10 @@ func FixPath(path string) (string, error) {
2423
if strings.HasPrefix(path, "~") {
2524
path = filepath.Join(wavebase.GetHomeDir(), path[1:])
2625
} else if !filepath.IsAbs(path) {
27-
log.Printf("FixPath: path is not absolute: %s", path)
2826
path, err = filepath.Abs(path)
2927
if err != nil {
3028
return "", err
3129
}
32-
log.Printf("FixPath: fixed path: %s", path)
3330
}
3431
return path, nil
3532
}

0 commit comments

Comments
 (0)