Skip to content

Commit

Permalink
lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ssddOnTop committed Nov 29, 2024
1 parent 4734154 commit 8e36f8c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
5 changes: 1 addition & 4 deletions src/core/config/reader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -237,10 +237,7 @@ impl ConfigReader {
.iter()
.map(|vars| (vars.key.clone(), vars.value.clone()))
.collect();
let reader_ctx = ConfigReaderContext::new(
&self.runtime,
&vars,
);
let reader_ctx = ConfigReaderContext::new(&self.runtime, &vars);
config.telemetry.render_mustache(&reader_ctx)?;

// Create initial config set & extend it with the links
Expand Down
5 changes: 1 addition & 4 deletions src/core/config/reader_context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,7 @@ mod tests {
.cloned()
.collect();

let reader_context = ConfigReaderContext::new(
&runtime,
&vars,
);
let reader_context = ConfigReaderContext::new(&runtime, &vars);

assert_eq!(
reader_context.path_string(&["env", "ENV_1"]),
Expand Down

0 comments on commit 8e36f8c

Please sign in to comment.