Commit 32f0ab4d authored by Kamil Trzciński's avatar Kamil Trzciński 🔴
Browse files

Do not print remote addition failure message

parent d1b7fca6
......@@ -167,7 +167,7 @@ func (b *AbstractShell) writeRefspecFetchCmd(w ShellWriter, build *common.Build,
// Add `git remote` or update existing
w.IfCmdWithOutput("git", "remote", "add", "origin", build.GetRemoteURL())
w.IfCmd("git", "remote", "add", "origin", build.GetRemoteURL())
w.Notice("Created fresh repository.")
w.Command("git", "remote", "set-url", "origin", build.GetRemoteURL())
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment