mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-19 00:26:21 +00:00
fix: siempre hay segundos
This commit is contained in:
parent
fcb68b683d
commit
3a0a1dfd89
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ class DeployJob < ApplicationJob
|
|||
raise DeployException, 'Una dependencia falló' if failed_dependencies? d
|
||||
|
||||
status = d.deploy
|
||||
seconds = d.build_stats.last.try(:seconds)
|
||||
seconds = d.build_stats.last.try(:seconds) || 0
|
||||
size = d.size
|
||||
urls = d.respond_to?(:urls) ? d.urls : [d.url].compact
|
||||
rescue StandardError => e
|
||||
|
|
Loading…
Reference in a new issue