Commit 6d491036 authored by JJ Asghar's avatar JJ Asghar Committed by Ben Abrams
Browse files

Fixed rubocop error



Offenses:

libraries/provider_source.rb:34:21: C: Reverse the order of the operands /password/i === config_json.
          sensitive(/password/i === config_json) # rubocop:disable Style/CaseEquality
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
Signed-off-by: default avatarJJ Asghar <jj@chef.io>
parent 5ca041ea
......@@ -31,7 +31,7 @@ class Chef
rights new_resource.rights
end
# please fix me!
sensitive(/password/i === config_json) # rubocop:disable Style/CaseEquality
sensitive(config_json === /password/i) # rubocop:disable Style/CaseEquality
end
end
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment