parent
0909179261
commit
c09b273eaf
1 changed files with 5 additions and 1 deletions
|
|
@ -1110,7 +1110,11 @@ when isMainModule:
|
|||
except NimbleQuit:
|
||||
discard
|
||||
finally:
|
||||
removeDir(getNimbleTempDir())
|
||||
try:
|
||||
removeDir(getNimbleTempDir())
|
||||
except OSError:
|
||||
let msg = "Couldn't remove Nimble's temp dir"
|
||||
display("Warning:", msg, Warning, MediumPriority)
|
||||
|
||||
if error.len > 0:
|
||||
displayTip()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue