Replace 'path' module usage with 'filepath'

This commit is contained in:
2026-05-12 21:36:49 +03:00
parent e62f4bf41c
commit 69178e42b1
+1 -2
View File
@@ -3,7 +3,6 @@ package main
import (
"log"
"os"
"path"
"path/filepath"
"runtime"
@@ -23,7 +22,7 @@ func GetConfigPath(relativeConfigPath string) string {
paths := make([]string, 0)
if *configDirFlag != "" {
paths = append(paths, path.Join(*configDirFlag, relativeConfigPath))
paths = append(paths, filepath.Join(*configDirFlag, relativeConfigPath))
}
switch runtime.GOOS {
case "windows":