In buildconfig, remove trailing newline from project's remote git repu URL.

This commit is contained in:
Ratnadeep Debnath 2016-10-27 16:30:52 +05:30
parent 6d8a6a3fc8
commit f46274be38

View File

@ -83,7 +83,7 @@ func getGitRemote(remote string) string {
if err != nil {
return ""
}
return string(out)
return strings.TrimRight(string(out), "\n")
}
// getAbsBuildContext returns build context relative to project root dir