make Nimble more robust for AppVeyor

This commit is contained in:
Araq 2018-09-10 18:36:51 +02:00
commit 3efc9db0bd

View file

@ -1110,7 +1110,10 @@ when isMainModule:
except NimbleQuit: except NimbleQuit:
discard discard
finally: finally:
removeDir(getNimbleTempDir()) try:
removeDir(getNimbleTempDir())
except OSerror:
discard "failing to remove the nimble temp dir is not critical"
if error.len > 0: if error.len > 0:
displayTip() displayTip()