Improve error message when there are no packages to uninstall.
This commit is contained in:
parent
137bb1ed07
commit
419eba036b
1 changed files with 1 additions and 1 deletions
|
|
@ -892,7 +892,7 @@ proc uninstall(options: Options) =
|
|||
pkgsToDelete.incl pkg
|
||||
|
||||
if pkgsToDelete.len == 0:
|
||||
raise newException(NimbleError, "Failed uninstall - no packages selected")
|
||||
raise newException(NimbleError, "Failed uninstall - no packages to delete")
|
||||
|
||||
var pkgNames = ""
|
||||
for pkg in pkgsToDelete.items:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue