summaryrefslogtreecommitdiff
path: root/exit.go
diff options
context:
space:
mode:
Diffstat (limited to 'exit.go')
-rw-r--r--exit.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/exit.go b/exit.go
index baf6a62..4e87fd2 100644
--- a/exit.go
+++ b/exit.go
@@ -2,6 +2,7 @@ package main
import (
"fmt"
+ "path/filepath"
"go.wit.com/lib/protobuf/gitpb"
"go.wit.com/log"
@@ -21,6 +22,7 @@ func badExit(check *gitpb.Repo, err error) {
eraseGoMod(check)
}
}
- s := fmt.Sprintf("failed: %s", me.forge.Config.ReposDir)
+ fullpath := filepath.Join(check.FullPath)
+ s := fmt.Sprintf("failed in %s", fullpath)
me.argv.BadExit(s, err)
}