removed unnecessary if
This commit is contained in:
parent
249edf748b
commit
71c8f1c3d5
1 changed files with 0 additions and 3 deletions
|
@ -92,9 +92,6 @@ fn process_args() -> (Vec<Vec<PathBuf>>, Config) {
|
||||||
|
|
||||||
let run_paths: Vec<Vec<PathBuf>> = run_targets.iter().enumerate().map(
|
let run_paths: Vec<Vec<PathBuf>> = run_targets.iter().enumerate().map(
|
||||||
|(i,spaths)| {
|
|(i,spaths)| {
|
||||||
if spaths.len() == 0 {
|
|
||||||
return
|
|
||||||
}
|
|
||||||
spaths.iter().map(
|
spaths.iter().map(
|
||||||
|spath| Path::new(spath).canonicalize().unwrap_or_else(
|
|spath| Path::new(spath).canonicalize().unwrap_or_else(
|
||||||
|_| {
|
|_| {
|
||||||
|
|
Loading…
Add table
Reference in a new issue