summaryrefslogtreecommitdiff
path: root/lib
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:32:23 -0800
commit74b0b661f5cdc127c9209e8d24926093582dcc97 (patch)
treedf3470ec9f7b7a2ea7d3a0af83807458df546bc1 /lib
parent3aea13eba1912dd8a9a289f3807ed8d9ca2de6a6 (diff)
downloadchef-74b0b661f5cdc127c9209e8d24926093582dcc97.tar.gz
Fix comment whitespace
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib')
-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 34c8546738..b1657b1c77 100644
--- a/lib/chef/provider/git.rb
+++ b/lib/chef/provider/git.rb
@@ -343,10 +343,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**"