Commit 58980327 authored by Sean Carroll's avatar Sean Carroll

Fix Rubocop violation

parent d5e86f1a
...@@ -25,6 +25,7 @@ module MergeTrains ...@@ -25,6 +25,7 @@ module MergeTrains
private private
def create_or_replace_pipeline def create_or_replace_pipeline
if should_create_pipeline? if should_create_pipeline?
previous_pipeline = pipeline_for_merge_train previous_pipeline = pipeline_for_merge_train
pipeline_created = create_pipeline! pipeline_created = create_pipeline!
...@@ -32,6 +33,7 @@ module MergeTrains ...@@ -32,6 +33,7 @@ module MergeTrains
previous_pipeline.auto_cancel_running(pipeline_created) previous_pipeline.auto_cancel_running(pipeline_created)
end end
end end
pipeline_created pipeline_created
end end
......
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