precheck/lib/precheck/rules/curse_words_rule.rb in fastlane-2.74.1 vs precheck/lib/precheck/rules/curse_words_rule.rb in fastlane-2.75.0.beta.20180109010003
- old
+ new
@@ -39,12 +39,12 @@
end
end
if found_words.length > 0
friendly_found_words = found_words.join(', ')
- UI.verbose "#{self.class.name.split('::').last ||= self.class.name} found potential curse words 😬"
- UI.verbose "Keep in mind, these words might be ok given the context they are used in"
- UI.verbose "Matched: \"#{friendly_found_words}\""
+ UI.verbose("#{self.class.name.split('::').last ||= self.class.name} found potential curse words 😬")
+ UI.verbose("Keep in mind, these words might be ok given the context they are used in")
+ UI.verbose("Matched: \"#{friendly_found_words}\"")
return RuleReturn.new(validation_state: VALIDATION_STATES[:failed], failure_data: "found: #{friendly_found_words}")
else
return RuleReturn.new(validation_state: VALIDATION_STATES[:passed])
end
}