Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
joshrmcdaniel committed Jul 7, 2024
1 parent c5eb918 commit c97276f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
5 changes: 1 addition & 4 deletions privaxy/src/server/configuration/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -270,12 +270,9 @@ impl Configuration {
}

pub(crate) fn get_config_file() -> PathBuf {
get_base_directory()
.unwrap()
.join(CONFIGURATION_FILE_NAME)
get_base_directory().unwrap().join(CONFIGURATION_FILE_NAME)
}


fn get_base_directory() -> ConfigurationResult<PathBuf> {
let base_directory: PathBuf = match env::var("PRIVAXY_BASE_PATH") {
Ok(val) => PathBuf::from(&val),
Expand Down
1 change: 0 additions & 1 deletion privaxy/src/server/web_gui/settings/ca_certificate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ async fn put_ca_certificates(

notify_reload.notify_waiters();


Ok(Box::new(
Response::builder()
.status(http::StatusCode::NO_CONTENT)
Expand Down

0 comments on commit c97276f

Please sign in to comment.