lint: fix unhandled errors

This commit is contained in:
Ondřej Budai 2020-02-28 23:00:46 +01:00 committed by Tom Gundersen
parent 9bef739621
commit d7cbc22da4
12 changed files with 151 additions and 56 deletions

View file

@ -205,7 +205,10 @@ func runComposerCLI(quiet bool, command ...string) json.RawMessage {
log.Printf("$ composer-cli %s\n", strings.Join(command, " "))
}
cmd.Start()
err = cmd.Start()
if err != nil {
log.Fatalf("Could not start command: %v", err)
}
var result json.RawMessage