diff --git a/depell/src/main.rs b/depell/src/main.rs index 969d8b5..7e63b04 100644 --- a/depell/src/main.rs +++ b/depell/src/main.rs @@ -694,7 +694,7 @@ mod db { fetch_deps: " WITH RECURSIVE roots(name, author, code) AS ( SELECT name, author, code FROM post WHERE name = ? AND author = ? - UNION ALL + UNION SELECT post.name, post.author, post.code FROM post JOIN import ON post.name = import.to_name AND post.author = import.to_author