feat: improved output even more
This commit is contained in:
parent
1b1efcd3c1
commit
47d07c5177
3 changed files with 21 additions and 7 deletions
|
|
@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue