mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
os: home_dir() remove trailing slash (#6512)
This commit is contained in:
@@ -533,7 +533,7 @@ fn init_settings() {
|
||||
s.is_help = '-h' in os.args || '--help' in os.args || 'help' in os.args
|
||||
s.is_verbose = '-v' in os.args
|
||||
s.server_urls = cmdline.options(os.args, '-server-url')
|
||||
s.vmodules_path = os.home_dir() + '.vmodules'
|
||||
s.vmodules_path = os.join_path(os.home_dir(), '.vmodules')
|
||||
}
|
||||
|
||||
fn verbose_println(s string) {
|
||||
|
||||
Reference in New Issue
Block a user