mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-18 03:24:00 +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
|
// this command was not found, try the next
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
return err
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user