Skip to content

Commit a913cf8

Browse files
fix: test on windows
1 parent ecba0c6 commit a913cf8

File tree

1 file changed

+1
-1
lines changed
  • agent/agentcontainers/ignore

1 file changed

+1
-1
lines changed

agent/agentcontainers/ignore/dir.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ func FilePathToParts(path string) []string {
1818
return []string{}
1919
}
2020

21-
for segment := range strings.SplitSeq(filepath.Clean(path), "/") {
21+
for segment := range strings.SplitSeq(filepath.Clean(path), string(filepath.Separator)) {
2222
if segment != "" {
2323
components = append(components, segment)
2424
}

0 commit comments

Comments
 (0)