mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
vpm: fix show command (#11093)
This commit is contained in:
parent
7a67a08d2f
commit
52a3360a47
@ -585,7 +585,7 @@ Installed: False
|
||||
')
|
||||
continue
|
||||
}
|
||||
path := os.join_path(os.vmodules_dir(), module_name)
|
||||
path := os.join_path(os.vmodules_dir(), module_name.replace('.', os.path_separator))
|
||||
mod := vmod.from_file(os.join_path(path, 'v.mod')) or { continue }
|
||||
print('Name: $mod.name
|
||||
Version: $mod.version
|
||||
|
Loading…
Reference in New Issue
Block a user