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