Skip to content

Commit

Permalink
feat: support .yml extension (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
KoltesDigital committed Jan 15, 2022
1 parent 7b5da34 commit c2827f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wrapped_context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ impl WrappedContext {
match context_file.extension() {
Some(ext) if ext == "json" => self.append_json(&input),
Some(ext) if ext == "toml" => self.append_toml(&input),
Some(ext) if ext == "yaml" => self.append_yaml(&input),
Some(ext) if ext == "yaml" || ext == "yml" => self.append_yaml(&input),
ext => {
panic!("Extension not supported: {:?}", ext)
}
Expand Down

0 comments on commit c2827f5

Please sign in to comment.