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:
@ -54,7 +54,7 @@ pub fn (c Config) read_input() !string {
|
||||
if text == '' && os.is_file(c.file_path) {
|
||||
text = os.read_file(c.file_path) or {
|
||||
return error(@MOD + '.' + @STRUCT + '.' + @FN +
|
||||
' Could not read "$c.file_path": "$err.msg()"')
|
||||
' Could not read "${c.file_path}": "${err.msg()}"')
|
||||
}
|
||||
}
|
||||
return text
|
||||
|
Reference in New Issue
Block a user