feat: improved output even more

This commit is contained in:
Simon Cornet 2025-04-11 17:56:59 +02:00
commit 47d07c5177
3 changed files with 21 additions and 7 deletions

View file

@ -49,10 +49,18 @@ func printSummary() {
)
}
func printPullError(pullErrorMsg []string) {
if len(pullErrorMsg) > 0 {
for _, repo := range pullErrorMsg {
func printPullErrorUnstaged(pullErrorMsgUnstaged []string) {
if len(pullErrorMsgUnstaged) > 0 {
for _, repo := range pullErrorMsgUnstaged {
fmt.Printf("❕%s has unstaged changes.\n", repo)
}
}
}
func printPullErrorUncommitted(pullErrorMsgUncommitted []string) {
if len(pullErrorMsgUncommitted) > 0 {
for _, repo := range pullErrorMsgUncommitted {
fmt.Printf("❕%s has uncommitted changes.\n", repo)
}
}
}