From 0062168c96a3e2c9008403c07ac84602f7584db0 Mon Sep 17 00:00:00 2001 From: axtloss Date: Sat, 6 Jan 2024 17:00:22 +0100 Subject: [PATCH] fix: fix repeated commands in final command --- plugin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin.go b/plugin.go index 3d21578..9162278 100644 --- a/plugin.go +++ b/plugin.go @@ -99,5 +99,5 @@ func BuildModule(moduleInterface interface{}, recipe *api.Recipe) (string, error cmd := append(append(prepCommands, mainCommands...), cleanCommands...) - return strings.Join(cmd[:], " && "), nil + return strings.Join(cmd, " && "), nil }