remove unnecessary hard reset

This commit is contained in:
DustInDark
2022-04-22 15:31:36 +09:00
parent 1719d6e2dc
commit 274123256a

View File

@@ -667,8 +667,6 @@ impl App {
// case of no exist hayabusa-rules repository in rules.
// execute update because submodule information exists if hayabusa repository exists submodule information.
self._repo_main_reset_hard(hayabusa_rule_repo.as_ref().unwrap())?;
prev_modified_time = fs::metadata("rules").unwrap().modified().unwrap();
let rules_path = Path::new("rules");
if !rules_path.exists() {