Skip to content

A platform for community discussion. Free, open, simple.

Fix frozen string error in `plugin:install_all_official`.

Guo Xiang Tan8c4caac2e41d
diff --git a/lib/tasks/plugin.rake b/lib/tasks/plugin.rake
index a093bc86ec5..4e6ca17b82d 100644
--- a/lib/tasks/plugin.rake
+++ b/lib/tasks/plugin.rake
@@ -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/", "[email protected]:")
- repo << ".git"
+ repo = repo.gsub("https://github.com/", "[email protected]:")
+ repo += ".git"
end
status = system("git clone #{repo} #{path}")