mirror of
https://github.com/desktop/desktop
synced 2024-09-20 00:21:23 +00:00
and one more message
This commit is contained in:
parent
2d28f723e1
commit
302bd1acdb
|
@ -253,6 +253,8 @@ function getDescriptionForError(error: DugiteError): string {
|
|||
return 'The object was not found in the Git repository.'
|
||||
case DugiteError.OutsideRepository:
|
||||
return 'This path is not a valid path inside the repository.'
|
||||
case DugiteError.LockFileAlreadyExists:
|
||||
return 'A lock file already exists in the repository, which blocks this operation from completing.'
|
||||
default:
|
||||
return assertNever(error, `Unknown error: ${error}`)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue