Fix Rubocop unused variables warning
This commit is contained in:
parent
85f7824b2d
commit
39c17ccb87
1 changed files with 2 additions and 2 deletions
|
@ -40,10 +40,10 @@ module Ci
|
|||
|
||||
def process_build(build, current_status)
|
||||
if valid_statuses_for_when(build.when).include?(current_status)
|
||||
r = build.enqueue
|
||||
build.enqueue
|
||||
true
|
||||
else
|
||||
r = build.skip
|
||||
build.skip
|
||||
false
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue