fix build on windows

This commit is contained in:
Joey Hess 2020-11-25 06:24:49 -04:00
parent 93520790ab
commit d15c2d9ed3
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -119,7 +119,7 @@ inAnnexSafe key = inAnnex' (fromMaybe True) (Just False) go key
Nothing -> return is_locked
Just lockhandle -> do
dropLock lockhandle
void $ tryIO $ removeWhenExistsWith removeLink (fromRawFilePath lockfile)
void $ tryIO $ removeWhenExistsWith R.removeLink lockfile
return is_unlocked
, return is_missing
)