From 3a85a0ebd1f5082ef1c3f57ae1aca12f6b2de3b1 Mon Sep 17 00:00:00 2001 From: Tim Smith Date: Tue, 20 Mar 2018 11:10:07 -0700 Subject: Chefstyle fix Signed-off-by: Tim Smith --- lib/chef/provider/git.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/chef/provider/git.rb b/lib/chef/provider/git.rb index eb2b1679a1..50078ff153 100644 --- a/lib/chef/provider/git.rb +++ b/lib/chef/provider/git.rb @@ -213,7 +213,7 @@ class Chef # which we can fix by replacing them all with our target url (hence the --replace-all option) if multiple_remotes?(remote_status) || !remote_matches?(remote_url, remote_status) - git("config", "--replace-all", "remote.#{remote_name}.url", %("#{remote_url}"), cwd: cwd) + git("config", "--replace-all", "remote.#{remote_name}.url", %{"#{remote_url}"}, cwd: cwd) end when 1 git("remote", "add", remote_name, remote_url, cwd: cwd) -- cgit v1.2.1