mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-27 10:08:11 +08:00
Ensure that temporary report is always deleted [SCI-2834]
This commit is contained in:
parent
daaeb385bb
commit
0e192cc830
4 changed files with 5 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
FROM ruby:2.4.3
|
||||
FROM ruby:2.4.4
|
||||
MAINTAINER BioSistemika <info@biosistemika.com>
|
||||
|
||||
# additional dependecies
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM ruby:2.4.3
|
||||
FROM ruby:2.4.4
|
||||
MAINTAINER BioSistemika <info@biosistemika.com>
|
||||
|
||||
# additional dependecies
|
||||
|
|
2
Gemfile
2
Gemfile
|
@ -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'
|
||||
|
|
|
@ -286,5 +286,7 @@ class Project < ApplicationRecord
|
|||
current_team: team,
|
||||
extra: '--keep-relative-links'
|
||||
)
|
||||
ensure
|
||||
report.destroy if report.present?
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue