Просмотр исходного кода

Add commit date to Github PRs checks

Cristhian Amaya 7 лет назад
Родитель
Сommit
cde0894711
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      github.go

+ 1 - 0
github.go

@@ -63,6 +63,7 @@ func auditGithubPR() ([]Leak, error) {
 					githubCommit: commit,
 					author:       commit.GetCommitter().GetLogin(),
 					message:      *commit.Commit.Message,
+					date:         *commit.Commit.Committer.Date,
 				}
 				leaks = append(leaks, inspect(diff)...)
 			}