Fix static analysys

This commit is contained in:
Shinya Maeda 2018-08-03 17:34:31 +09:00
parent c53de19ff8
commit 02bf0639b4
1 changed files with 2 additions and 2 deletions

View File

@ -6,10 +6,10 @@ module Ci
base_pipeline = project.pipelines.find_by_iid(base_pipeline_iid) if base_pipeline_iid
head_pipeline = project.pipelines.find_by_iid(head_pipeline_iid)
begin
begin
comparer = Gitlab::Ci::Reports::TestReportsComparer
.new(base_pipeline&.test_reports, head_pipeline.test_reports)
{
status: :parsed,
data: TestReportsComparerSerializer