Fix Rubocop unused variables warning

This commit is contained in:
Stan Hu 2016-10-26 14:03:58 -07:00
parent 85f7824b2d
commit 39c17ccb87

View file

@ -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