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:
commit
9f389f1b3a
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue