feat: improved error messages
This commit is contained in:
parent
e2e508adc5
commit
1c2be88daa
4 changed files with 11 additions and 11 deletions
|
|
@ -76,7 +76,7 @@ func pullRepository(repoName string, repoDestination string) {
|
|||
remoteCmd := exec.Command("git", "-C", repoDestination, "remote", "show")
|
||||
remoteOutput, err := remoteCmd.CombinedOutput()
|
||||
if err != nil {
|
||||
return "", fmt.Errorf("finding remote: %v", err)
|
||||
return "", fmt.Errorf("finding remote: %v\n", err)
|
||||
}
|
||||
|
||||
remote := strings.Split(strings.TrimSpace(string(remoteOutput)), "\n")[0]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue