Skip to content

Commit

Permalink
chore: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
boranx committed Dec 19, 2019
1 parent 3d313ac commit 78ab4c6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ You can find examples using various other tools in the `examples` directory, inc
* [Serverless Framework](examples/serverless)
* [Tekton](examples/tekton)
* [Terraform](examples/terraform)
* [Traefix](examples/traefik)
* [Traefik](examples/traefik)
* [Typescript](examples/ts)
* [XML](examples/xml)

Expand Down
7 changes: 4 additions & 3 deletions parser/parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,11 @@ func ValidInputs() []string {
return []string{
"toml",
"tf|hcl",
"hcl2",
"cue",
"ini",
"yaml",
"json",
"yml|yaml|json",
"Dockerfile",
"edn",
"xml",
}
Expand Down Expand Up @@ -111,7 +112,7 @@ func GetParser(fileType string) (Parser, error) {
return &ini.Parser{}, nil
case "hcl2":
return &hcl2.Parser{}, nil
case "Dockerfile":
case "Dockerfile", "dockerfile":
return &docker.Parser{}, nil
case "yml", "yaml", "json":
return &yaml.Parser{}, nil
Expand Down

0 comments on commit 78ab4c6

Please sign in to comment.