Skip to content

Commit

Permalink
fix: backend update hook arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
aymanbagabas committed Aug 28, 2023
1 parent d1593cc commit fd167be
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmd/soft/hook.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,9 @@ var (
}

hks.Update(ctx, stdout, stderr, repoName, hooks.HookArg{
OldSha: args[0],
NewSha: args[1],
RefName: args[2],
RefName: args[0],
OldSha: args[1],
NewSha: args[2],
})
case hooks.PostUpdateHook:
hks.PostUpdate(ctx, stdout, stderr, repoName, args...)
Expand Down

0 comments on commit fd167be

Please sign in to comment.