Skip to content

Commit

Permalink
Feed the dog 🐕
Browse files Browse the repository at this point in the history
  • Loading branch information
phansch committed Dec 12, 2020
1 parent 41c562d commit b8501e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clippy_dev/src/bless.rs
Expand Up @@ -62,7 +62,7 @@ fn update_reference_file(reference_file_path: 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();
path.push(CARGO_TARGET_DIR.clone());
path.push(profile);
Expand Down

0 comments on commit b8501e1

Please sign in to comment.