mirror of
https://github.com/GoogleContainerTools/kaniko
synced 2026-10-18 18:58:32 +02:00
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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user