cli_util: fix typo

This commit is contained in:
Waleed Khan 2022-12-31 01:52:16 -06:00
parent f05c6fc6fd
commit cf8c2b0717

View file

@ -123,9 +123,9 @@ impl From<WorkspaceInitError> for CommandError {
impl From<OpHeadResolutionError> for CommandError {
fn from(err: OpHeadResolutionError) -> Self {
match err {
OpHeadResolutionError::NoHeads => {
CommandError::InternalError("Corrupt repository: the are no operations".to_string())
}
OpHeadResolutionError::NoHeads => CommandError::InternalError(
"Corrupt repository: there are no operations".to_string(),
),
}
}
}