Skip to content

Commit

Permalink
fix porchсtl push method for windows
Browse files Browse the repository at this point in the history
fix according to kispaljr's comment
  • Loading branch information
RomanBudnyk authored Aug 15, 2024
1 parent ecdaa61 commit 0c7dc5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cli/commands/rpkg/push/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ func readFromDir(dir string) (map[string]string, error) {
}
newRes := make(map[string]string)
for key, value := range resources {
newKey := strings.ReplaceAll(key, "\\", "/")
newKey := filepath.ToSlash(key)
newRes[newKey] = value
}
return newRes, nil
Expand Down

0 comments on commit 0c7dc5c

Please sign in to comment.