mirror of
https://github.com/vbatts/git-validation.git
synced 2024-11-22 08:05:39 +00:00
commit
5b845cee79
1 changed files with 3 additions and 0 deletions
|
@ -108,6 +108,9 @@ func Check(commit string) ([]byte, error) {
|
|||
if gitNewEnough {
|
||||
excludeList := strings.Split(excludeEnvList, ":")
|
||||
for _, exclude := range excludeList {
|
||||
if exclude == "" {
|
||||
continue
|
||||
}
|
||||
args = append(args, "--", ".", fmt.Sprintf(":(exclude)%s", exclude))
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue