fix build
This commit is contained in:
parent
f845195354
commit
47a2a9b621
1 changed files with 2 additions and 2 deletions
|
@ -41,8 +41,8 @@ needsUpgrade v
|
||||||
Just newv -> ifM (annexAutoUpgradeRepository <$> Annex.getGitConfig)
|
Just newv -> ifM (annexAutoUpgradeRepository <$> Annex.getGitConfig)
|
||||||
( tryNonAsync (upgrade True newv) >>= \case
|
( tryNonAsync (upgrade True newv) >>= \case
|
||||||
Right True -> ok
|
Right True -> ok
|
||||||
Right False -> "Automatic upgrade failed!"
|
Right False -> err "Automatic upgrade failed!"
|
||||||
Left err -> "Automatic upgrade exception! " ++ show err
|
Left ex -> err $ "Automatic upgrade exception! " ++ show ex
|
||||||
, err "Automatic upgrade is disabled by annex.autoupgraderepository configuration. To upgrade this repository: git-annex upgrade"
|
, err "Automatic upgrade is disabled by annex.autoupgraderepository configuration. To upgrade this repository: git-annex upgrade"
|
||||||
)
|
)
|
||||||
where
|
where
|
||||||
|
|
Loading…
Reference in a new issue