forked from LaconicNetwork/kompose
In buildconfig, remove trailing newline from project's remote git repu URL.
This commit is contained in:
1 parent
6d8a6a3fc8
commit
f46274be38
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user