Skip to content

Commit

Permalink
Smaller fixes for output visual and go sanity
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Kluth <alex@software-cookies.de>
  • Loading branch information
akluth committed Apr 17, 2024
1 parent 516952b commit a015ccc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,13 +107,13 @@ func executeTask(doFile Dofile, dirPrefix string, taskName string) {

err = cmd.Start()
if err != nil {
_, _ = fmt.Fprintln(os.Stderr, "Error starting Cmd", err)
_, _ = fmt.Fprintln(os.Stderr, "Error starting Cmd,", err)
os.Exit(1)
}

err = cmd.Wait()
if err != nil {
_, _ = fmt.Fprintln(os.Stderr, "Error waiting for Cmd", err)
_, _ = fmt.Fprintln(os.Stderr, "Error waiting for Cmd,", err)
os.Exit(1)
}
} else {
Expand Down Expand Up @@ -231,7 +231,7 @@ func main() {
executeTask(doFile, dirPrefix, taskName)
}
} else {
for taskName, _ := range doFile.Tasks {
for taskName := range doFile.Tasks {
executeTask(doFile, dirPrefix, taskName)
}
}
Expand Down

0 comments on commit a015ccc

Please sign in to comment.