Fix travis @ HEAD
I merged a contributor's PR which modifed the HasFilepathPrefix function to take an additional argument, but the PR hadn't been rebased. One of the liting tests in Travis caught this bug.
This commit is contained in:
parent
8f0d257134
commit
589197b416
|
|
@ -314,7 +314,7 @@ func filterDiff(f []fileDiff) []fileDiff {
|
|||
for _, diff := range f {
|
||||
isWhitelisted := false
|
||||
for _, p := range allowedDiffPaths {
|
||||
if util.HasFilepathPrefix(diff.Name, p) {
|
||||
if util.HasFilepathPrefix(diff.Name, p, false) {
|
||||
isWhitelisted = true
|
||||
break
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue