avoid unneccesary extra blank line before git-credentials prompt
This commit is contained in:
parent
bc1b9a2c0a
commit
a6c3d1cb6d
1 changed files with 1 additions and 3 deletions
|
@ -237,9 +237,7 @@ discoverLFSEndpoint tro h
|
|||
resp <- makeSmallAPIRequest testreq
|
||||
if needauth (responseStatus resp)
|
||||
then do
|
||||
cred <- prompt $ do
|
||||
showOutput
|
||||
inRepo $ Git.getUrlCredential (show lfsrepouri)
|
||||
cred <- prompt $ inRepo $ Git.getUrlCredential (show lfsrepouri)
|
||||
let endpoint' = addbasicauth cred endpoint
|
||||
let testreq' = LFS.startTransferRequest endpoint' transfernothing
|
||||
flip catchNonAsync (const (returnendpoint endpoint')) $ do
|
||||
|
|
Loading…
Add table
Reference in a new issue