From 274123256a873b5de41ddbfa0744b629bc0bb0d0 Mon Sep 17 00:00:00 2001 From: DustInDark Date: Fri, 22 Apr 2022 15:31:36 +0900 Subject: [PATCH] remove unnecessary hard reset --- src/main.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index f81629f0..3ba25b25 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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() {