Use safe_system instead of Utils.popen_read.
This commit is contained in:
parent
b109e6da5d
commit
c4c00e4ede
@ -16,7 +16,7 @@ module GitRepositoryExtension
|
||||
def git_origin=(origin)
|
||||
return unless git? && Utils.git_available?
|
||||
cd do
|
||||
Utils.popen_read("git", "remote", "set-url", "origin", origin).chuzzle
|
||||
safe_system "git", "remote", "set-url", "origin", origin
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user