Skip to content

Commit

Permalink
chore(test): Add back the default_templates method to make weaver_f…
Browse files Browse the repository at this point in the history
…orge unit tests happy again.
  • Loading branch information
lquerel committed Jun 4, 2024
1 parent d512563 commit d0eee43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/weaver_forge/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,11 @@ pub(crate) struct TargetConfig {

/// Parameters for the templates.
/// These parameters can be overridden by parameters passed to the CLI.
#[serde(default = "default_templates")]
#[serde(default)]
pub(crate) params: HashMap<String, Value>,

/// Configuration for the templates.
#[serde(default)]
#[serde(default = "default_templates")]
pub(crate) templates: Vec<TemplateConfig>,

/// List of acronyms to be considered as unmodifiable words in the case
Expand Down

0 comments on commit d0eee43

Please sign in to comment.