Ensure that temporary report is always deleted [SCI-2834]

This commit is contained in:
Oleksii Kriuchykhin 2018-11-06 09:33:18 +01:00
parent daaeb385bb
commit 0e192cc830
4 changed files with 5 additions and 3 deletions

View file

@ -1,4 +1,4 @@
FROM ruby:2.4.3
FROM ruby:2.4.4
MAINTAINER BioSistemika <info@biosistemika.com>
# additional dependecies

View file

@ -1,4 +1,4 @@
FROM ruby:2.4.3
FROM ruby:2.4.4
MAINTAINER BioSistemika <info@biosistemika.com>
# additional dependecies

View file

@ -1,6 +1,6 @@
source 'http://rubygems.org'
ruby '2.4.3'
ruby '2.4.4'
gem 'rails', '5.1.6'
gem 'webpacker', '~> 2.0'

View file

@ -286,5 +286,7 @@ class Project < ApplicationRecord
current_team: team,
extra: '--keep-relative-links'
)
ensure
report.destroy if report.present?
end
end