appmgr: initialize dependency errors on install

This commit is contained in:
Aiden McClelland
2021-06-14 14:10:44 -06:00
committed by Aiden McClelland
parent 8954e3e338
commit 8fba85277a
4 changed files with 41 additions and 36 deletions

View File

@@ -1,21 +0,0 @@
use super::*;
const V0_2_13: emver::Version = emver::Version::new(0, 2, 13, 0);
pub struct Version;
#[async_trait]
impl VersionT for Version {
type Previous = v0_2_12::Version;
fn new() -> Self {
Version
}
fn semver(&self) -> &'static emver::Version {
&V0_2_13
}
async fn up(&self) -> Result<(), Error> {
Ok(())
}
async fn down(&self) -> Result<(), Error> {
Ok(())
}
}