Skip to content

Commit

Permalink
Fix conflicts with #182
Browse files Browse the repository at this point in the history
  • Loading branch information
hsbt committed Jul 1, 2017
2 parents 2a5f102 + 9341b11 commit 576e20b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rake/task_manager.rb
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def enhance_with_matching_rule(task_name, level=0)
fail Rake::RuleRecursionOverflowError,
"Rule Recursion Too Deep" if level >= 16
@rules.each do |pattern, args, extensions, block|
if pattern.match(task_name)
if pattern && pattern.match(task_name)
task = attempt_rule(task_name, pattern, args, extensions, block, level)
return task if task
end
Expand Down

0 comments on commit 576e20b

Please sign in to comment.