@ -208,9 +208,13 @@ likely to change.
|
||||
}
|
||||
if !isClean {
|
||||
log.Infof("%s currently has these unstaged changes 👇", recipe.Name)
|
||||
if err := gitPkg.DiffUnstaged(recipe.Dir); err != nil {
|
||||
diff, err := gitPkg.DiffUnstaged(recipe.Dir, "")
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
if diff != "" {
|
||||
fmt.Print(diff)
|
||||
}
|
||||
}
|
||||
},
|
||||
}
|
||||
|
Reference in New Issue
Block a user