mirror of
https://github.com/GoogleContainerTools/kaniko
synced 2026-10-18 17:54:15 +02:00
Fix #776
This commit is contained in:
@@ -390,7 +390,7 @@ var isSrcValidTests = []struct {
|
||||
func Test_IsSrcsValid(t *testing.T) {
|
||||
for _, test := range isSrcValidTests {
|
||||
t.Run(test.name, func(t *testing.T) {
|
||||
if err := GetExcludedFiles(buildContextPath); err != nil {
|
||||
if err := GetExcludedFiles("", buildContextPath); err != nil {
|
||||
t.Fatalf("error getting excluded files: %v", err)
|
||||
}
|
||||
err := IsSrcsValid(test.srcsAndDest, test.resolvedSources, buildContextPath)
|
||||
|
||||
Reference in New Issue
Block a user