Skip to content

Commit 6423833

Browse files
dploegerDennis Ploeger
authored andcommitted
fix: Fixed test runner not ignoring .-directories
1 parent 782c4fa commit 6423833

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmd/tests/test-features.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ func getFeatures(flavour string) []lib.Feature {
7777
funk.FilterString(
7878
featuresGlob,
7979
func(value string) bool {
80-
if correctPathRegexp.Match([]byte(filepath.Dir(value))) {
80+
if correctPathRegexp.Match([]byte(value)) {
8181
if yamlFile, err := os.ReadFile(filepath.Join(value, "feature.yaml")); err != nil {
8282
return false
8383
} else {

0 commit comments

Comments
 (0)