Skip to content

Commit

Permalink
fix: swapped substitution (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
ivorscott authored Jun 29, 2024
1 parent fcf52f6 commit 22465bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion executor.go
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ func commitText(behindCount string) string {
}

// runGitLog runs the git log command to show the complete list of changes.
func runGitLog(dir, branch, remoteName string) error {
func runGitLog(dir, remoteName, branch string) error {
cmd := exec.Command("git", "log", fmt.Sprintf("%s..%s/%s", branch, remoteName, branch))
cmd.Dir = dir
cmd.Stdout = os.Stdout
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ module github.com/devpies/reporter
go 1.22.4

require (
github.com/sony/gobreaker v1.0.0
github.com/stretchr/testify v1.9.0
gopkg.in/yaml.v3 v3.0.1
)

require (
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/sony/gobreaker v1.0.0 // indirect
)

0 comments on commit 22465bd

Please sign in to comment.