mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06: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']
|
if ENV['GIT_WRITE']
|
||||||
STDERR.puts "Allowing write to all repos!"
|
STDERR.puts "Allowing write to all repos!"
|
||||||
repo.gsub!("https://github.com/", "git@github.com:")
|
repo = repo.gsub("https://github.com/", "git@github.com:")
|
||||||
repo << ".git"
|
repo += ".git"
|
||||||
end
|
end
|
||||||
|
|
||||||
status = system("git clone #{repo} #{path}")
|
status = system("git clone #{repo} #{path}")
|
||||||
|
Loading…
Reference in New Issue
Block a user