more verbose errors
This commit is contained in:
parent
61c5cfc03f
commit
52bb1eb33c
@ -36,7 +36,7 @@ func (r *Runner) Run() error {
|
|||||||
for _, m := range ms {
|
for _, m := range ms {
|
||||||
fv, e := getVersionOfFile(fmt.Sprintf("%s/%s", m.RootPath, m.BinaryPath))
|
fv, e := getVersionOfFile(fmt.Sprintf("%s/%s", m.RootPath, m.BinaryPath))
|
||||||
if e != nil {
|
if e != nil {
|
||||||
return e
|
return fmt.Errorf("error getting version of file: %s", e)
|
||||||
}
|
}
|
||||||
if v != fv {
|
if v != fv {
|
||||||
l, e := goBuildBinary(m.RootPath)
|
l, e := goBuildBinary(m.RootPath)
|
||||||
|
Loading…
Reference in New Issue
Block a user