From cd48cc77038af6b1b52829409206bddcc404bc25 Mon Sep 17 00:00:00 2001 From: "Christian G. Warden" Date: Tue, 3 Dec 2024 15:03:34 -0600 Subject: [PATCH] Fix Source Directory Identification on Windows Fixes pushing by path using forward slash as the path separator, such as with git-bash. --- command/push.go | 1 + 1 file changed, 1 insertion(+) diff --git a/command/push.go b/command/push.go index 72cea280..82396867 100644 --- a/command/push.go +++ b/command/push.go @@ -132,6 +132,7 @@ func runPush(metadataTypes []string, metadataNames []string, resourcePaths []str func sourceDirFromPaths(resourcePaths []string) string { p := "" for _, path := range resourcePaths { + path = filepath.FromSlash(path) parts := strings.Split(path, string(os.PathSeparator)) first := parts[0] if p == "" {