mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
fmt: fix alignment of struct init fields (#22025)
This commit is contained in:
parent
99da5726db
commit
c51d30bf53
671 changed files with 18817 additions and 18787 deletions
|
@ -114,13 +114,13 @@ fn (mut p Parser) parse_module(m string) {
|
|||
mod_path := normalize_mod_path(os.join_path(if kind == .http { publisher } else { '' },
|
||||
manifest.name))
|
||||
Module{
|
||||
name: manifest.name
|
||||
url: ident
|
||||
version: version
|
||||
name: manifest.name
|
||||
url: ident
|
||||
version: version
|
||||
install_path: os.real_path(os.join_path(settings.vmodules_path, mod_path))
|
||||
is_external: true
|
||||
tmp_path: tmp_path
|
||||
manifest: manifest
|
||||
is_external: true
|
||||
tmp_path: tmp_path
|
||||
manifest: manifest
|
||||
}
|
||||
} else {
|
||||
// VPM registered module.
|
||||
|
@ -170,13 +170,13 @@ fn (mut p Parser) parse_module(m string) {
|
|||
vmod.Manifest{}
|
||||
}
|
||||
Module{
|
||||
name: info.name
|
||||
url: info.url
|
||||
version: version
|
||||
vcs: vcs
|
||||
name: info.name
|
||||
url: info.url
|
||||
version: version
|
||||
vcs: vcs
|
||||
install_path: os.real_path(os.join_path(settings.vmodules_path, mod_path))
|
||||
tmp_path: tmp_path
|
||||
manifest: manifest
|
||||
tmp_path: tmp_path
|
||||
manifest: manifest
|
||||
}
|
||||
}
|
||||
mod.install_path_fmted = fmt_mod_path(mod.install_path)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue