mirror of
https://github.com/harness/drone.git
synced 2025-05-31 11:43:15 +00:00
fix: [CODE-1949]: fix for trigger filters not working (#2068)
This commit is contained in:
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…
x
Reference in New Issue
Block a user