Skip to content

Commit

Permalink
Fix the import of files with wildcard in the path when under the path…
Browse files Browse the repository at this point in the history
… has only one file (#210)
  • Loading branch information
svenbarnett authored Jun 15, 2022
1 parent d34f098 commit b8da7f9
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions pkg/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -384,11 +384,6 @@ func (f *File) expandFiles(dir string, runnerLogger *logger.RunnerLogger) (err e
return err, files
}

if len(fileNames) == 1 {
files = append(files, f)
return err, files
}

for i := range fileNames {
var failedDataPath *string = nil
if f.FailDataPath != nil {
Expand Down

0 comments on commit b8da7f9

Please sign in to comment.