We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 76f8d88 commit 99b0d83Copy full SHA for 99b0d83
pkg/lib/filesystem/paths.go
@@ -5,7 +5,6 @@ import (
5
"io/fs"
6
"kitops/pkg/lib/constants"
7
"os"
8
- "path"
9
"path/filepath"
10
"strings"
11
)
@@ -59,8 +58,8 @@ func FindKitfileInPath(contextDir string) string {
59
58
var defaultKitFileNames = []string{"Kitfile", "kitfile", ".kitfile"}
60
for _, fileName := range defaultKitFileNames {
61
if _, exists := PathExists(filepath.Join(contextDir, fileName)); exists {
62
- return path.Join(contextDir, fileName)
+ return filepath.Join(contextDir, fileName)
63
}
64
65
- return path.Join(contextDir, constants.DefaultKitFileName)
+ return filepath.Join(contextDir, constants.DefaultKitFileName)
66
0 commit comments