fix: better local changes message

This commit is contained in:
2022-04-19 10:29:05 +02:00
parent 3c4bb6a55e
commit cbd924060f

View File

@ -572,7 +572,7 @@ func EnsureUpToDate(recipeName string) error {
}
if !isClean {
return fmt.Errorf("%s has locally unstaged changes", recipeName)
return fmt.Errorf("%s (%s) has locally unstaged changes? please commit/remove your changes before proceeding", recipeName, recipeDir)
}
repo, err := git.PlainOpen(recipeDir)