Skip to content

Commit

Permalink
fix(git): avoid error message to be swallowed
Browse files Browse the repository at this point in the history
  • Loading branch information
cfabianski committed Nov 27, 2023
1 parent 25d4130 commit 9e7be6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/git/git.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func GetRoot(targetPath string) (string, error) {
func logAndBuildCommand(ctx context.Context, args ...string) *exec.Cmd {
log.Debug().Msgf("running command: git %s", strings.Join(args, " "))

cmd := exec.CommandContext(ctx, "git2ss", args...)
cmd := exec.CommandContext(ctx, "git", args...)
cmd.Env = environment

return cmd
Expand Down

0 comments on commit 9e7be6f

Please sign in to comment.