fix type error

This commit is contained in:
HouXiaoxuan
2023-12-22 11:08:26 +08:00
parent fd415fe02b
commit 7b91fad41f

View File

@@ -155,7 +155,7 @@ pub fn handle_command() {
if source.is_none() {
source = Some("HEAD".to_string());
}
restore(path, source, worktree, staged);
restore(path, source.unwrap(), worktree, staged);
}
}
}