From 3dcc7191a843c58d1152dbc7568d356356d760fe Mon Sep 17 00:00:00 2001 From: Arian Rezazadeh Date: Sat, 4 Jan 2025 10:50:34 +0330 Subject: [PATCH] chore: format yaml.rs --- crates/gritmodule/src/yaml.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/gritmodule/src/yaml.rs b/crates/gritmodule/src/yaml.rs index 86cc9586f..593708c8d 100644 --- a/crates/gritmodule/src/yaml.rs +++ b/crates/gritmodule/src/yaml.rs @@ -42,8 +42,8 @@ pub fn get_grit_config(source: &str, source_path: &str) -> Result { 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); }