lint
This commit is contained in:
parent
b327227ba5
commit
637b5feb45
26 changed files with 71 additions and 102 deletions
|
@ -22,7 +22,7 @@ seek = [withWords start]
|
|||
|
||||
start :: [String] -> CommandStart
|
||||
start (keyname:file:[]) = notBareRepo $ do
|
||||
let key = maybe (error "bad key") id $ readKey keyname
|
||||
let key = fromMaybe (error "bad key") $ readKey keyname
|
||||
inbackend <- inAnnex key
|
||||
unless inbackend $ error $
|
||||
"key ("++ keyname ++") is not present in backend"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue