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

Fix rubocop offenses

parent 4faaa62a
...@@ -107,8 +107,8 @@ module Ci ...@@ -107,8 +107,8 @@ module Ci
def play(current_user = nil) def play(current_user = nil)
# Try to queue a current build # Try to queue a current build
if self.queue if self.queue
self.update(user: current_user) self.update(user: current_user)
self self
else else
# Otherwise we need to create a duplicate # Otherwise we need to create a duplicate
Ci::Build.retry(self, current_user) 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