Skip to content

Commit

Permalink
chore: format yaml.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
Arian8j2 committed Jan 4, 2025
1 parent 828a2b5 commit 3dcc719
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/gritmodule/src/yaml.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ pub fn get_grit_config(source: &str, source_path: &str) -> Result<GritConfig> {
let mut definitation =
GritDefinitionConfig::from_serialized(p, source_path.to_string());
definitation.raw = Some(RawGritDefinition {
format: PatternFileExt::Yaml,
content: source.to_owned(),
format: crate::parser::PatternFileExt::Yaml,
});
patterns.push(definitation);
}
Expand Down

0 comments on commit 3dcc719

Please sign in to comment.