Update src/lib.rs

main
Jan-Erik Rediger 2023-07-11 11:47:22 +02:00 committed by GitHub
parent dac759ceea
commit a8325211b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -21,7 +21,8 @@ impl Preprocessor for LastChanged {
log::debug!("Src root: {}", src_root.display());
log::debug!("Git root: {}", git_root.display());
let repository_string: Option<&str> = match ctx.config.get("output.html.git-repository-url") {
let repository_string: Option<&str> = match ctx.config.get("output.html.git-repository-url")
{
Some(val) => {
let url = match val {
toml::Value::String(s) => s,