Skip to content

Commit

Permalink
fix: [CODE-1949]: fix for trigger filters not working (#2068)
Browse files Browse the repository at this point in the history
  • Loading branch information
karansaraswat19 authored and Harness committed May 25, 2024
1 parent 226fc83 commit 8d5c83d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/services/webhook/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,9 +188,9 @@ type CommitInfo struct {

// commitInfoFrom gets the CommitInfo from a git.Commit.
func commitInfoFrom(commit git.Commit) CommitInfo {
var added []string
var removed []string
var modified []string
added := []string{}
removed := []string{}
modified := []string{}

for _, stat := range commit.FileStats {
switch {
Expand Down

0 comments on commit 8d5c83d

Please sign in to comment.