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
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]
|
||||
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
|
||||
|
||||
|
|
Loading…
Reference in a new issue