This commit is contained in:
maddalax 2024-09-23 11:37:58 -05:00
parent b6cb9b4e5f
commit 8a42ea0c80

View file

@ -7,6 +7,7 @@ import (
"github.com/maddalax/htmgo/cli/htmgo/tasks/process"
"github.com/maddalax/htmgo/cli/htmgo/tasks/run"
"github.com/maddalax/htmgo/cli/htmgo/tasks/util"
"log"
"os"
"os/exec"
"path/filepath"
@ -67,7 +68,7 @@ func DownloadTemplate(outPath string) {
cmd.Stderr = os.Stderr
err = cmd.Run()
if err != nil {
println("Error executing command %s\n", err.Error())
log.Fatalf("Error executing command %s, error: %s\n", strings.Join(command, " "), err.Error())
return
}
}