1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

builder: vfmt compile.v

This commit is contained in:
Delyan Angelov 2020-10-24 15:48:05 +03:00
parent 8f85396a31
commit 296a6095a4

View File

@ -25,7 +25,7 @@ fn get_vtmp_folder() string {
fn get_vtmp_filename(base_file_name string, postfix string) string {
vtmp := get_vtmp_folder()
uniq := rand.u64()
return os.real_path(os.join_path(vtmp, os.file_name(os.real_path(base_file_name)) + '.${uniq}${postfix}'))
return os.real_path(os.join_path(vtmp, os.file_name(os.real_path(base_file_name)) + '.$uniq$postfix'))
}
pub fn compile(command string, pref &pref.Preferences) {