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

ci: more ? -> ! fixes

This commit is contained in:
Delyan Angelov
2022-10-16 22:48:40 +03:00
parent 7302d8c4a8
commit 7ff7e540b9
3 changed files with 18 additions and 18 deletions

View File

@ -10,14 +10,14 @@ fn main() {
files := os.args#[1..]
if files.len > 0 && files[0].starts_with('@') {
lst_path := files[0].all_after('@')
listed_files := os.read_file(lst_path)?.split('\n')
process_files(listed_files)?
listed_files := os.read_file(lst_path)!.split('\n')
process_files(listed_files)!
return
}
process_files(files)?
process_files(files)!
}
fn process_files(files []string) ? {
fn process_files(files []string) ! {
mut table := ast.new_table()
mut pref := pref.new_preferences()
pref.is_fmt = true