5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-15 02:11:42 +00:00

fix: cancelar la compilación al primer error

Recupera el comportamiento de #1716 #1730 #1735 #1738 #1739 #1740 #1741 #1743 #1744 #1746 #1832 #1952 #2057 #2058 #2059 #2062 #1104 #1124 #1152 #1153 #1154 #1175 #1191 #1230 #1303 #1461 #1478 #1609 #1610 #1667 #504
This commit is contained in:
f 2023-03-13 18:52:15 -03:00
parent 6a7a0dddda
commit 955786be0e

View file

@ -31,7 +31,7 @@ class DeployJob < ApplicationJob
@deployed = { deploy_local: deploy_locally }
# No es opcional
unless @deployed[:deploy_local]
unless @deployed[:deploy_local][:status]
# Hacer fallar la tarea
raise DeployException, deploy_local.build_stats.last.log
end