DeleteHook: Ensure the right branch is checked out
This commit is contained in:
parent
81cc6c822b
commit
0f1c360981
1 changed files with 1 additions and 0 deletions
|
@ -107,6 +107,7 @@ impl StoreIdAccessor for DeleteHook {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
let _ = try!(self.runtime.ensure_cfg_branch_is_checked_out(&action));
|
||||||
let cfg = try!(self.runtime.config_value_or_err(&action));
|
let cfg = try!(self.runtime.config_value_or_err(&action));
|
||||||
let repo = try!(self.runtime.repository(&action));
|
let repo = try!(self.runtime.repository(&action));
|
||||||
let mut index = try!(fetch_index(repo, &action));
|
let mut index = try!(fetch_index(repo, &action));
|
||||||
|
|
Loading…
Reference in a new issue