summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-03-20 11:10:07 -0700
committerTim Smith <tsmith@chef.io>2018-06-04 10:48:34 -0700
commitcf0e2ad7cf5010d6169bc512f5023c14401257ef (patch)
tree98b4ea50ef4229f3fabfe2bab14d381a4bfb99c0
parent11b05207eb12f2efe00d268f0b7cac658fa462fd (diff)
downloadchef-cf0e2ad7cf5010d6169bc512f5023c14401257ef.tar.gz
Chefstyle fix
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--lib/chef/provider/git.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/git.rb b/lib/chef/provider/git.rb
index fca6100dc2..5845f869d8 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)