Skip to content

Commit

Permalink
fix: fix repeated commands in final command
Browse files Browse the repository at this point in the history
  • Loading branch information
axtloss committed Jan 6, 2024
1 parent 857a906 commit 0062168
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit 0062168

Please sign in to comment.