Fix frozen string error in plugin:install_all_official.

This commit is contained in:
Guo Xiang Tan 2019-05-13 10:18:53 +08:00
parent 9059a8ca90
commit 8c4caac2e4

View File

@ -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}")