mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-19 01:26:21 +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]
|
# @param :message [String]
|
||||||
# @return [nil]
|
# @return [nil]
|
||||||
def perform(site, usuarie, message)
|
def perform(site, usuarie, message)
|
||||||
|
return unless site.repository.origin
|
||||||
return unless site.repository.fetch.positive?
|
return unless site.repository.fetch.positive?
|
||||||
|
|
||||||
site.repository.merge(usuarie, message)
|
site.repository.merge(usuarie, message)
|
||||||
|
|
Loading…
Reference in a new issue