fix: Builds failing due to new Rust version
This commit is contained in:
parent
7481ac1825
commit
e36bb74231
4 changed files with 13 additions and 15 deletions
|
|
@ -85,7 +85,7 @@ impl Logger {
|
|||
///
|
||||
/// # Panics
|
||||
/// Will panic if logging is unable to be initialized.
|
||||
pub fn init(&mut self) {
|
||||
pub fn init(&self) {
|
||||
let home = env::var("HOME").expect("$HOME should be defined");
|
||||
let log_dir = self.log_dir.as_ref().map_or_else(
|
||||
|| Path::new(home.as_str()).join(".local/share/bluebuild"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue