make Nimble more robust for AppVeyor
This commit is contained in:
parent
9f4081e888
commit
3efc9db0bd
1 changed files with 4 additions and 1 deletions
|
|
@ -1110,7 +1110,10 @@ when isMainModule:
|
|||
except NimbleQuit:
|
||||
discard
|
||||
finally:
|
||||
removeDir(getNimbleTempDir())
|
||||
try:
|
||||
removeDir(getNimbleTempDir())
|
||||
except OSerror:
|
||||
discard "failing to remove the nimble temp dir is not critical"
|
||||
|
||||
if error.len > 0:
|
||||
displayTip()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue