v update: add verbose output (#6080)
parent
55b8cc1bb2
commit
664c26ab4b
|
@ -229,6 +229,8 @@ fn vpm_update(m []string) {
|
|||
verbose_println('Failed command: $vcs_cmd')
|
||||
verbose_println('Failed details:\n$vcs_res.output')
|
||||
continue
|
||||
} else {
|
||||
verbose_println(' $vcs_res.output.trim_space()')
|
||||
}
|
||||
resolve_dependencies(name, final_module_path, module_names)
|
||||
}
|
||||
|
@ -289,8 +291,9 @@ fn vpm_list() {
|
|||
println('You have no modules installed.')
|
||||
exit(0)
|
||||
}
|
||||
println('Installed modules:')
|
||||
for mod in module_names {
|
||||
println(mod)
|
||||
println(' $mod')
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -534,7 +537,8 @@ fn get_module_meta_info(name string) ?Mod {
|
|||
continue
|
||||
}
|
||||
if r.status_code == 404 || r.text.contains('404') {
|
||||
errors << 'Skipping module "$name", since $server_url reported that "$name" does not exist.'
|
||||
errors <<
|
||||
'Skipping module "$name", since $server_url reported that "$name" does not exist.'
|
||||
continue
|
||||
}
|
||||
if r.status_code != 200 {
|
||||
|
|
Loading…
Reference in New Issue