mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-16 04:01:41 +00:00
fix: missing splat in git_sh method #12919
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
This commit is contained in:
parent
ca9fa31cf1
commit
c2d64e11d7
1 changed files with 2 additions and 2 deletions
|
@ -162,7 +162,7 @@ class Site
|
||||||
# @return [Boolean, nil]
|
# @return [Boolean, nil]
|
||||||
def push
|
def push
|
||||||
origin.push(rugged.head.canonical_name, credentials: credentials)
|
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
|
end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
@ -199,7 +199,7 @@ class Site
|
||||||
env = { 'PATH' => '/usr/bin', 'LANG' => ENV['LANG'], 'HOME' => path }
|
env = { 'PATH' => '/usr/bin', 'LANG' => ENV['LANG'], 'HOME' => path }
|
||||||
|
|
||||||
r = nil
|
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
|
r = t.value
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue