mirror of
https://github.com/vlang/v.git
synced 2025-09-16 16:02:29 +03:00
ci: more ? -> ! fixes
This commit is contained in:
parent
7302d8c4a8
commit
7ff7e540b9
3 changed files with 18 additions and 18 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue