mirror of
https://github.com/discourse/discourse.git
synced 2025-03-21 16:26:41 +08:00
Fix frozen string error in plugin:install_all_official
.
This commit is contained in:
parent
9059a8ca90
commit
8c4caac2e4
@ -31,8 +31,8 @@ task 'plugin:install_all_official' do
|
||||
|
||||
if ENV['GIT_WRITE']
|
||||
STDERR.puts "Allowing write to all repos!"
|
||||
repo.gsub!("https://github.com/", "git@github.com:")
|
||||
repo << ".git"
|
||||
repo = repo.gsub("https://github.com/", "git@github.com:")
|
||||
repo += ".git"
|
||||
end
|
||||
|
||||
status = system("git clone #{repo} #{path}")
|
||||
|
Loading…
x
Reference in New Issue
Block a user