mirror of https://github.com/astral-sh/ruff
do it backwards, obviously
This commit is contained in:
parent
aae857b7da
commit
cd724e02e1
|
|
@ -449,6 +449,7 @@ fn desperate_search_paths(db: &dyn Db, importing_file: File) -> Option<Vec<Searc
|
||||||
if search_paths.is_empty() {
|
if search_paths.is_empty() {
|
||||||
None
|
None
|
||||||
} else {
|
} else {
|
||||||
|
search_paths.reverse();
|
||||||
Some(search_paths)
|
Some(search_paths)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue