and one more message

This commit is contained in:
Brendan Forster 2018-05-30 08:06:44 +10:00
parent 2d28f723e1
commit 302bd1acdb

View file

@ -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}`)
}