Skip to content

Commit

Permalink
hmm
Browse files Browse the repository at this point in the history
  • Loading branch information
maddalax committed Sep 23, 2024
1 parent b6cb9b4 commit 8a42ea0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cli/htmgo/tasks/downloadtemplate/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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
}
}
Expand Down

0 comments on commit 8a42ea0

Please sign in to comment.