summaryrefslogtreecommitdiff
path: root/lib/chef/provider/git.rb
diff options
context:
space:
mode:
authorJoshua C. Burt <joshburt@shapeandshare.com>2016-04-27 12:46:03 -0600
committerJoshua C. Burt <joshburt@shapeandshare.com>2016-04-27 12:46:03 -0600
commite774a942bb4792e9bbe5e4a668b5854d9bcb7fcd (patch)
tree12e033d2d46d3b633f2bc3b9e8e215a0610c0d8d /lib/chef/provider/git.rb
parenta45ee201f8b7a5b22dc783f6120885674bb3dfa8 (diff)
downloadchef-e774a942bb4792e9bbe5e4a668b5854d9bcb7fcd.tar.gz
address chefstyle offenses
Diffstat (limited to 'lib/chef/provider/git.rb')
-rw-r--r--lib/chef/provider/git.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/provider/git.rb b/lib/chef/provider/git.rb
index 69dde1df05..c9e783126e 100644
--- a/lib/chef/provider/git.rb
+++ b/lib/chef/provider/git.rb
@@ -199,10 +199,10 @@ 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)
- run_git_command(["config", "--replace-all", "remote.#{remote_name}.url", remote_url], { cwd: cwd })
+ run_git_command(["config", "--replace-all", "remote.#{remote_name}.url", remote_url], { cwd: cwd })
end
when 1
- run_git_command(["remote", "add", remote_name, remote_url], { cwd: cwd })
+ run_git_command(["remote", "add", remote_name, remote_url], { cwd: cwd })
end
end
end