DeleteHook should be executed after the delete action
This commit is contained in:
parent
d90e745185
commit
f9ea5c5013
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ impl<'a> Runtime<'a> {
|
||||||
let sp = storepath;
|
let sp = storepath;
|
||||||
|
|
||||||
let hooks : Vec<(Box<Hook>, &str, HP)> = vec![
|
let hooks : Vec<(Box<Hook>, &str, HP)> = vec![
|
||||||
(Box::new(GitDeleteHook::new(sp.clone(), HP::PreDelete)) , "vcs", HP::PreDelete),
|
(Box::new(GitDeleteHook::new(sp.clone(), HP::PostDelete)) , "vcs", HP::PostDelete),
|
||||||
(Box::new(GitUpdateHook::new(sp, HP::PostUpdate)) , "vcs", HP::PostUpdate),
|
(Box::new(GitUpdateHook::new(sp, HP::PostUpdate)) , "vcs", HP::PostUpdate),
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue