[ReviewFix] Fix variable naming

This commit is contained in:
Jonas Berlin 2020-02-17 23:05:33 +02:00 committed by Flavio Castelli
parent b3670ece0e
commit 2b738d4425
No known key found for this signature in database
GPG Key ID: F1020D69DC004F48
1 changed files with 2 additions and 2 deletions

View File

@ -680,10 +680,10 @@ fn make_data(
if let Some(ref git_repository_url) = html_config.git_repository_url {
data.insert("git_repository_url".to_owned(), json!(git_repository_url));
let defaultEditBaseUrl = git_repository_url.to_owned() + "/blob/master";
let default_edit_baseurl = git_repository_url.to_owned() + "/blob/master";
let git_repository_edit_baseurl = match html_config.git_repository_edit_baseurl {
Some(ref git_repository_edit_baseurl) => git_repository_edit_baseurl,
None => &defaultEditBaseUrl,
None => &default_edit_baseurl,
};
data.insert("git_repository_edit_baseurl".to_owned(), json!(git_repository_edit_baseurl));
} else {