diff options
| author | Tim Smith <tsmith@chef.io> | 2018-03-20 11:10:07 -0700 |
|---|---|---|
| committer | Tim Smith <tsmith@chef.io> | 2018-03-20 11:10:07 -0700 |
| commit | 3a85a0ebd1f5082ef1c3f57ae1aca12f6b2de3b1 (patch) | |
| tree | ad67e895e88051769a54d33439e249258d668152 | |
| parent | ee4312001080543739be686e9df887dee18f4868 (diff) | |
| download | chef-pr6249.tar.gz | |
Chefstyle fixpr6249
Signed-off-by: Tim Smith <tsmith@chef.io>
| -rw-r--r-- | lib/chef/provider/git.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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) |
