forked from toolshed/abra
		
	fix: no newline on status in logs
This commit is contained in:
		| @ -40,7 +40,8 @@ func IsClean(repoPath string) (bool, error) { | ||||
| 	} | ||||
|  | ||||
| 	if status.String() != "" { | ||||
| 		log.Debugf("discovered git status in %s: %s", repoPath, status.String()) | ||||
| 		noNewline := strings.TrimSuffix(status.String(), "\n") | ||||
| 		log.Debugf("discovered git status in %s: %s", repoPath, noNewline) | ||||
| 	} else { | ||||
| 		log.Debugf("discovered clean git status in %s", repoPath) | ||||
| 	} | ||||
|  | ||||
		Reference in New Issue
	
	Block a user