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:
@ -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
|
||||
|
Reference in New Issue
Block a user