mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
quote_path: also quote ampersands (#6846)
This commit is contained in:
parent
d633261a99
commit
dbdcef5166
2 changed files with 12 additions and 8 deletions
|
@ -113,7 +113,7 @@ fn main() {
|
|||
for file in files {
|
||||
fpath := os.real_path(file)
|
||||
mut worker_command_array := cli_args_no_files.clone()
|
||||
worker_command_array << ['-worker', util.quote_path_with_spaces(fpath)]
|
||||
worker_command_array << ['-worker', util.quote_path(fpath)]
|
||||
worker_cmd := worker_command_array.join(' ')
|
||||
if foptions.is_verbose {
|
||||
eprintln('vfmt worker_cmd: $worker_cmd')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue