mirror of
https://github.com/MrBeanCpp/MIT.git
synced 2026-02-08 12:53:42 +08:00
fix type error
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user