Commit 5b119a9d authored by Kamil Trzcinski's avatar Kamil Trzcinski

Fix rubocop offenses

parent 4faaa62a
......@@ -107,8 +107,8 @@ module Ci
def play(current_user = nil)
# Try to queue a current build
if self.queue
self.update(user: current_user)
self
self.update(user: current_user)
self
else
# Otherwise we need to create a duplicate
Ci::Build.retry(self, current_user)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment