summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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**"