Update src/lib.rs
parent
dac759ceea
commit
a8325211b3
|
@ -21,7 +21,8 @@ impl Preprocessor for LastChanged {
|
||||||
log::debug!("Src root: {}", src_root.display());
|
log::debug!("Src root: {}", src_root.display());
|
||||||
log::debug!("Git root: {}", git_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) => {
|
Some(val) => {
|
||||||
let url = match val {
|
let url = match val {
|
||||||
toml::Value::String(s) => s,
|
toml::Value::String(s) => s,
|
||||||
|
|
Loading…
Reference in New Issue