Suggested changes

This commit is contained in:
Phani Teja Marupaka
2020-05-28 15:46:58 -07:00
parent 4cd3944860
commit a158eeaaff
3 changed files with 8 additions and 16 deletions

View File

@@ -71,7 +71,7 @@ func (r *SourceRunner) runE(c *cobra.Command, args []string) error {
var inputs []kio.Reader
for _, a := range args {
inputs = append(inputs, kio.LocalPackageReader{PackagePath: a, IncludeJSON: true})
inputs = append(inputs, kio.LocalPackageReader{PackagePath: a, MatchFilesGlob: kio.MatchAll})
}
if len(inputs) == 0 {
inputs = []kio.Reader{&kio.ByteReader{Reader: c.InOrStdin()}}