Skip to content

Commit

Permalink
fix var
Browse files Browse the repository at this point in the history
  • Loading branch information
unglaublicherdude committed Mar 1, 2024
1 parent cba4ac6 commit e6189d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion golang/vaas/cmd/git-scan/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func main() {
gitDiffCommand := exec.Command("git", "diff", "--name-only", targetBranch)
diffBytes, err := gitDiffCommand.Output()
if err != nil {
log.Fatal("git diff", err, string(gitDiffCommand))
log.Fatal("git diff", err, string(diffBytes))
}
files := strings.Split(strings.ReplaceAll(string(diffBytes), "\r\n", "\n"), "\n")
if len(files) < 1 {
Expand Down

0 comments on commit e6189d5

Please sign in to comment.