mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-05 03:27:48 +00:00
main: return an error when running a command failed
This commit is contained in:
committed by
Ron Evans
parent
0ce4d90779
commit
5f9c683abf
@@ -37,6 +37,7 @@ func execCommand(cmdNames []string, args ...string) error {
|
||||
// this command was not found, try the next
|
||||
continue
|
||||
}
|
||||
return err
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user