vpm: simplify output for `v list` (#13975)

pull/13987/head
pancake 2022-04-09 13:26:01 +02:00 committed by GitHub
parent 60e718e7c6
commit e3da3101f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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)
}
}