Skip to content

Commit

Permalink
Allow empty file extensions
Browse files Browse the repository at this point in the history
This is necessary for Konjure to handle process substitution.
  • Loading branch information
jgustie committed Jul 26, 2021
1 parent 6ff16f2 commit a0d4f7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/readers/file.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func (r *FileReader) Read() ([]*yaml.RNode, error) {

result = append(result, n)

case ".json", ".yaml", ".yml":
case ".json", ".yaml", ".yml", "":
// Just read the data in, assume it must be manifests to slurp
data, err := ioutil.ReadFile(path)
if err != nil {
Expand Down

0 comments on commit a0d4f7e

Please sign in to comment.