summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2019-01-29 11:32:23 -0800
committerTim Smith <tsmith@chef.io>2019-01-29 11:33:35 -0800
commitce428e6747c5b573fcc35d912ea7a7ee5ae90349 (patch)
tree19e2936b4ab21e2adfd2942e9354a228c0d2b85f
parent14012d2d8671d2cbce4621bcacf0c551663603a1 (diff)
downloadchef-ce428e6747c5b573fcc35d912ea7a7ee5ae90349.tar.gz
Fix comment whitespace
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 a4adf13c9d..5a22da9e86 100644
--- a/lib/chef/provider/git.rb
+++ b/lib/chef/provider/git.rb
@@ -341,10 +341,10 @@ class Chef
def sha_hash?(string)
string =~ /^[0-9a-f]{40}$/
end
+
# Returns a message for sensitive repository URL if sensitive is true otherwise
# repository URL is returned
# @return [String]
-
def repo_url
if new_resource.sensitive
"**Suppressed Sensitive URL**"