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:
Priya Wadhwa 2018-10-01 14:56:46 -07:00
parent 8f0d257134
commit 589197b416
1 changed files with 1 additions and 1 deletions

View File

@ -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
}