Browse Source

fix(clean): Add clean directory warning on fail

jguer 4 years ago
parent
commit
ab3c66ab98
1 changed files with 1 additions and 0 deletions
  1. 1 0
      clean.go

+ 1 - 0
clean.go

@@ -195,6 +195,7 @@ func cleanUntracked() error {
 		dir := filepath.Join(config.BuildDir, file.Name())
 		if isGitRepository(dir) {
 			if err := show(passToGit(dir, "clean", "-fx")); err != nil {
+				text.Warnln(gotext.Get("Unable to clean:"), dir)
 				return err
 			}
 		}