Commit 84c24a16f9be7eed23327e28c584a2aa08a594a1
1 parent
8f6e8ef9
Exists in
master
and in
1 other branch
Remove debug line
Showing
1 changed file
with
0 additions
and
1 deletions
Show diff stats
lib/merit/badge_rules.rb
... | ... | @@ -161,7 +161,6 @@ module Merit |
161 | 161 | end |
162 | 162 | # pass source and to for different situations |
163 | 163 | action = (badge.custom_fields || {}).fetch(s[:action], {}) |
164 | - debugger if source.is_a? Vote | |
165 | 164 | can_be_granted &= s[:value].call(source, to) >= action.fetch(:threshold, s[:default_threshold]).to_i |
166 | 165 | end |
167 | 166 | can_be_granted | ... | ... |