Feed the dog 🐕
This commit is contained in:
parent
41c562d4a5
commit
b8501e1be1
@ -62,7 +62,7 @@ fn update_reference_file(reference_file_path: PathBuf) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn build_dir() -> PathBuf {
|
fn build_dir() -> PathBuf {
|
||||||
let profile = format!("{}", env::var("PROFILE").unwrap_or("debug".to_string()));
|
let profile = env::var("PROFILE").unwrap_or_else(|_| "debug".to_string());
|
||||||
let mut path = PathBuf::new();
|
let mut path = PathBuf::new();
|
||||||
path.push(CARGO_TARGET_DIR.clone());
|
path.push(CARGO_TARGET_DIR.clone());
|
||||||
path.push(profile);
|
path.push(profile);
|
||||||
|
Loading…
Reference in New Issue
Block a user