vpm: simplify output for `v list`

pull/13975/head
pancake 2022-04-08 21:25:45 +02:00
parent 2d867a2766
commit d2b298d5d7
1 changed files with 2 additions and 3 deletions

View File

@ -445,12 +445,11 @@ fn vpm_outdated() {
fn vpm_list() {
module_names := get_installed_modules()
if module_names.len == 0 {
println('You have no modules installed.')
eprintln('You have no modules installed.')
exit(0)
}
println('Installed modules:')
for mod in module_names {
println(' $mod')
println(mod)
}
}