fix: [CODE-1949]: fix for trigger filters not working (#2068)

ui/offscreen-diff-contents
Karan Saraswat 2024-05-25 04:37:55 +00:00 committed by Harness
parent 226fc83849
commit 8d5c83d035
1 changed files with 3 additions and 3 deletions

View File

@ -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 {