1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

ci: vfmt cmd/tools/vpm.v

This commit is contained in:
Delyan Angelov 2022-01-15 18:02:58 +02:00
parent f24e9cc80a
commit ab7cc5809a
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED

View File

@ -489,7 +489,7 @@ fn valid_final_path_of_existing_module(modulename string) ?string {
mut name := modulename
if mod := get_mod_by_url(name) {
name = mod.name
}
}
mod_name_as_path := name.replace('.', os.path_separator).replace('-', '_').to_lower()
name_of_vmodules_folder := os.join_path(settings.vmodules_path, mod_name_as_path)
final_module_path := os.real_path(name_of_vmodules_folder)
@ -691,7 +691,7 @@ fn get_module_meta_info(name string) ?Mod {
modurl := server_url + '/jsmod/$name'
verbose_println('Retrieving module metadata from: "$modurl" ...')
r := http.get(modurl) or {
errors << 'Http server did not respond to our request for "${modurl}" .'
errors << 'Http server did not respond to our request for "$modurl" .'
errors << 'Error details: $err'
continue
}