mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
vfmt: change all '$expr' to '${expr}' (#16428)
This commit is contained in:
@ -93,7 +93,7 @@ fn (mut p Process) _spawn() int {
|
||||
p.env = []string{}
|
||||
current_environment := environ()
|
||||
for k, v in current_environment {
|
||||
p.env << '$k=$v'
|
||||
p.env << '${k}=${v}'
|
||||
}
|
||||
}
|
||||
mut pid := 0
|
||||
@ -177,7 +177,7 @@ pub fn (mut p Process) stderr_read() string {
|
||||
// _check_redirection_call - should be called just by stdxxx methods
|
||||
fn (mut p Process) _check_redirection_call(fn_name string) {
|
||||
if !p.use_stdio_ctl {
|
||||
panic('Call p.set_redirect_stdio() before calling p.$fn_name')
|
||||
panic('Call p.set_redirect_stdio() before calling p.${fn_name}')
|
||||
}
|
||||
if p.status == .not_started {
|
||||
panic('Call p.${fn_name}() after you have called p.run()')
|
||||
|
Reference in New Issue
Block a user