forked from mirrors/jj
cli_util: fix typo
This commit is contained in:
parent
f05c6fc6fd
commit
cf8c2b0717
1 changed files with 3 additions and 3 deletions
|
@ -123,9 +123,9 @@ impl From<WorkspaceInitError> for CommandError {
|
||||||
impl From<OpHeadResolutionError> for CommandError {
|
impl From<OpHeadResolutionError> for CommandError {
|
||||||
fn from(err: OpHeadResolutionError) -> Self {
|
fn from(err: OpHeadResolutionError) -> Self {
|
||||||
match err {
|
match err {
|
||||||
OpHeadResolutionError::NoHeads => {
|
OpHeadResolutionError::NoHeads => CommandError::InternalError(
|
||||||
CommandError::InternalError("Corrupt repository: the are no operations".to_string())
|
"Corrupt repository: there are no operations".to_string(),
|
||||||
}
|
),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue