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

fix: no fallar si no hay origin
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
f 2023-09-27 16:54:38 -03:00
parent b119cba7e1
commit 0538b3bbfd
No known key found for this signature in database

View file

@ -7,6 +7,7 @@ class GitPullJob < ApplicationJob
# @param :usuarie [Usuarie]
# @return [nil]
def perform(site, usuarie)
return unless site.repository.origin
return unless site.repository.fetch.positive?
site.repository.merge(usuarie)