Commit 74cefffd authored by James Lopez's avatar James Lopez

fixed spacing

parent cb4ec41f
...@@ -64,7 +64,7 @@ module ExportFileHelper ...@@ -64,7 +64,7 @@ module ExportFileHelper
end end
end end
#Return true if the hash has a key containing a sensitive word # Return true if the hash has a key containing a sensitive word
def object_contains_key?(object, sensitive_key_word) def object_contains_key?(object, sensitive_key_word)
object.is_a?(Hash) && object.keys.any? { |key| key.include?(sensitive_key_word) } object.is_a?(Hash) && object.keys.any? { |key| key.include?(sensitive_key_word) }
end end
......
Markdown is supported
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