Compare commits
No commits in common. "6f2d410e5e7e983b133e4a3081003cfab03e4a3d" and "368e478e595abd46ddd13d2eddb0c22fcf3ac60f" have entirely different histories.
6f2d410e5e
...
368e478e59
3 changed files with 3 additions and 3 deletions
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -183,7 +183,7 @@ checksum = "e86697c916019a8588c99b5fac3cead74ec0b4b819707a682fd4d23fa0ce1ba1"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "secrets-file-builder"
|
name = "secrets-file-builder"
|
||||||
version = "0.2.1"
|
version = "0.2.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"handlebars",
|
"handlebars",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "secrets-file-builder"
|
name = "secrets-file-builder"
|
||||||
version = "0.2.1"
|
version = "0.2.0"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
authors = ["networkException <git@nwex.de>"]
|
authors = ["networkException <git@nwex.de>"]
|
||||||
license = "BSD-2-Clause"
|
license = "BSD-2-Clause"
|
||||||
|
|
|
@ -73,7 +73,7 @@ fn main() -> Result<()> {
|
||||||
|
|
||||||
let output = handlebars.render_template(contents.as_str(), &Value::Object(data_map))?;
|
let output = handlebars.render_template(contents.as_str(), &Value::Object(data_map))?;
|
||||||
|
|
||||||
fs::write(output_path, output).expect("To be able to write to {output_path}");
|
fs::write(output_path, output)?;
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue