simplify evals
This commit is contained in:
parent
f3e4633e35
commit
00d4c7cd01
3 changed files with 5 additions and 3 deletions
|
@ -93,8 +93,7 @@ inAnnex r key = do
|
|||
-- run a local check by making an Annex monad
|
||||
-- using the remote
|
||||
a <- Annex.new r []
|
||||
(result, _) <- Annex.run a (Core.inAnnex key)
|
||||
return result
|
||||
Annex.eval a (Core.inAnnex key)
|
||||
remote = do
|
||||
-- remote check via ssh in and test
|
||||
boolSystem "ssh" [Git.urlHost r, "test -e " ++
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue