correctly handle self as current dependent

This commit is contained in:
Aiden McClelland
2021-12-09 19:58:44 -07:00
committed by Aiden McClelland
parent cf8536da2b
commit a2528a13df
5 changed files with 21 additions and 13 deletions

View File

@@ -37,6 +37,8 @@ pub async fn dry(
.current_dependents()
.keys(&mut tx, true)
.await?
.into_iter()
.filter(|dependent| &id != dependent)
{
let version_req = crate::db::DatabaseModel::new()
.package_data()