-
-
Notifications
You must be signed in to change notification settings - Fork 58
Closed
Description
I'm not sure if this is the expected behavior but I came across this issue while I was working on #92
To reproduce:
$ cargo new repro
$ cargo build
# target directory is created
$ kondo
Projects cleaned: 0, Bytes deleted: 0.0B
# nothing is cleaned
I think this is due to:
Lines 57 to 61 in 51828a1
fn prepare_directories(dirs: Vec<PathBuf>) -> Result<Vec<PathBuf>, Box<dyn Error>> { | |
let cd = current_dir()?; | |
if dirs.is_empty() { | |
return Ok(vec![cd]); | |
} |
might be regression in #90
Metadata
Metadata
Assignees
Labels
No labels