From 3271d1e5dcc6287ed3b3931467f96e0a89c231f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antti=20Kivim=C3=A4ki?= Date: Fri, 15 Nov 2024 14:57:22 +0200 Subject: [PATCH] fix: file tree on Windows --- internal/cli/execute.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/cli/execute.go b/internal/cli/execute.go index b1c3c9b1..c7182eeb 100644 --- a/internal/cli/execute.go +++ b/internal/cli/execute.go @@ -240,7 +240,7 @@ func executeRecipe(cmd *cobra.Command, opts executeOptions, re *recipe.Recipe) e if opts.Subpath != "" { files = make(map[string]recipe.File, len(sauce.Files)) for path, file := range sauce.Files { - files[filepath.Join(opts.Subpath, path)] = file + files[filepath.ToSlash(filepath.Join(opts.Subpath, path))] = file } }