5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-18 23:36:22 +00:00

Merge branch 'issue-12980' of https://0xacab.org/sutty/sutty into 17.3.alpine.panel.sutty.nl

This commit is contained in:
Sutty 2023-09-27 19:55:29 +00:00
commit 9f389f1b3a

View file

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