lib/warder/code_duplication_runner.rb in warder-0.1.9 vs lib/warder/code_duplication_runner.rb in warder-0.2.0

- old
+ new

@@ -4,10 +4,10 @@ CLI_OPTION = 'd' CLI_FULL_OPTION = 'code-duplication' DESCRIPTION = 'Run code duplication validation' COMMAND_NAME = 'flay' FLAY_SCORE = SCORE / 2 - FAILURE_REGEXP = /Total score \(lower is better\) = (\d+)/ + FAILURE_REGEXP = /code found in :\w+ \(mass(\*\d+)? = (?<issues>\d+)\)/ private def command_with_options "#{COMMAND_NAME} -d -m #{FLAY_SCORE} #{@options.files}"