Skip to content

Commit

Permalink
Merge pull request #9 from thestormforge/allow-empty-ext
Browse files Browse the repository at this point in the history
Allow empty file extensions
  • Loading branch information
jgustie authored Jul 27, 2021
2 parents 6ff16f2 + a0d4f7e commit 937caa2
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 937caa2

Please sign in to comment.