From 8c4caac2e41dc248c11f26b0c8003396da5b4eaa Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Mon, 13 May 2019 10:18:53 +0800 Subject: [PATCH] Fix frozen string error in `plugin:install_all_official`. --- lib/tasks/plugin.rake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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/", "git@github.com:") - repo << ".git" + repo = repo.gsub("https://github.com/", "git@github.com:") + repo += ".git" end status = system("git clone #{repo} #{path}")