Fix ownership issues with previous commit
This commit is contained in:
parent
6c62f15a41
commit
00e48a9f9a
@ -40,20 +40,20 @@ impl Database {
|
||||
// pulled in update, so swap it out
|
||||
let update = Update {
|
||||
name: name.clone(),
|
||||
version: remote_package.version,
|
||||
version: remote_package.version.clone(),
|
||||
url: repo.base_url.clone(),
|
||||
};
|
||||
updates.insert(name, update);
|
||||
updates.insert(name.clone(), update);
|
||||
}
|
||||
} else {
|
||||
// First time we've seen this update, so insert it
|
||||
// into our hashmap
|
||||
let update = Update {
|
||||
name: name.clone(),
|
||||
version: remote_package.version,
|
||||
url: repo.base_url,
|
||||
version: remote_package.version.clone(),
|
||||
url: repo.base_url.clone(),
|
||||
};
|
||||
updates.insert(name, update);
|
||||
updates.insert(name.clone(), update);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -8,7 +8,7 @@ mod repository;
|
||||
mod version;
|
||||
|
||||
pub use {
|
||||
db: Database,
|
||||
db::Database,
|
||||
hooks::Hooks,
|
||||
item::Item,
|
||||
package::{create_package, Dependency, Package, Specs},
|
||||
|
Loading…
Reference in New Issue
Block a user