mirror of https://github.com/harness/drone.git
fix: [CODE-1949]: fix for trigger filters not working (#2068)
parent
226fc83849
commit
8d5c83d035
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue