The bug in #329 occurred because of a bug in matchSources, where the filepath wasn't absolute, so the source "/kaniko-bug/*" wasn't being matched to the file "kaniko-bug/test-file" To fix this, I added logic for making filepaths absolute and added to the unit test for the function to test that it works. |
||
|---|---|---|
| .. | ||
| bucket_util.go | ||
| command_util.go | ||
| command_util_test.go | ||
| fs_util.go | ||
| fs_util_test.go | ||
| image_util.go | ||
| image_util_test.go | ||
| tar_util.go | ||
| tar_util_test.go | ||
| util.go | ||