ci: run vfmt over compile.v and checker.v

pull/6676/head
Delyan Angelov 2020-10-24 20:41:47 +03:00
parent 6c267f1c74
commit 89daec4e93
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ fn (mut b Builder) get_vtmp_filename(base_file_name string, postfix string) stri
vtmp := get_vtmp_folder()
mut uniq := ''
if !b.pref.reuse_tmpc {
uniq = '.${rand.u64()}'
uniq = '.$rand.u64()'
}
return os.real_path(os.join_path(vtmp, os.file_name(os.real_path(base_file_name)) + '$uniq$postfix'))
}

View File

@ -3850,7 +3850,7 @@ pub fn (mut c Checker) add_error_detail(s string) {
}
pub fn (mut c Checker) warn(s string, pos token.Position) {
allow_warnings := !(c.pref.is_prod || c.pref.warns_are_errors)// allow warnings only in dev builds
allow_warnings := !(c.pref.is_prod || c.pref.warns_are_errors) // allow warnings only in dev builds
c.warn_or_error(s, pos, allow_warnings) // allow warnings only in dev builds
}