From ab7cc5809a43f4f4d96acf703daee41aaf523a71 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Sat, 15 Jan 2022 18:02:58 +0200 Subject: [PATCH] ci: vfmt cmd/tools/vpm.v --- cmd/tools/vpm.v | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/tools/vpm.v b/cmd/tools/vpm.v index beaf850b74..bdc4645519 100644 --- a/cmd/tools/vpm.v +++ b/cmd/tools/vpm.v @@ -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 }