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

fix: missing splat in git_sh method #12919
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
jazzari 2023-07-20 16:26:43 -03:00
parent ca9fa31cf1
commit c2d64e11d7

View file

@ -162,7 +162,7 @@ class Site
# @return [Boolean, nil]
def push
origin.push(rugged.head.canonical_name, credentials: credentials)
git_sh("git", "lfs", "push", "origin", "#{default_branch}")
git_sh("git", "lfs", "push", "origin", "default_branch")
end
private
@ -199,7 +199,7 @@ class Site
env = { 'PATH' => '/usr/bin', 'LANG' => ENV['LANG'], 'HOME' => path }
r = nil
Open3.popen2e(env, args, unsetenv_others: true, chdir: path) do |_, _, t|
Open3.popen2e(env, *args, unsetenv_others: true, chdir: path) do |_, _, t|
r = t.value
end