summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKyohei Uto <im@kyoheiu.dev>2023-10-10 05:20:47 +0900
committerKyohei Uto <im@kyoheiu.dev>2023-10-10 05:20:47 +0900
commitf614d7cc0da8dff7497ccc59f0c7aa6dde5c8955 (patch)
tree8d1d70273bafd8f5b7f4668f5ffedba601057433
parent57972ba4e7af0f98a0e8c3dec6e0e03cb0c1eff1 (diff)
Use unwrap_or(()) to ignore git2 errorlibgit
-rw-r--r--src/state.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/state.rs b/src/state.rs
index 2bc0220..b4ebc3c 100644
--- a/src/state.rs
+++ b/src/state.rs
@@ -1256,8 +1256,8 @@ impl State {
None,
None,
)
- .unwrap();
// Ignores error to continue the update_list process.
+ .unwrap_or(());
}
}