mirror of
https://github.com/vlang/v.git
synced 2025-09-13 22:42:26 +03:00
vfmt: exit(1) after vfmt-ing a file with a syntax error
This commit is contained in:
parent
c6552d7780
commit
1e9ec6a126
1 changed files with 2 additions and 1 deletions
|
@ -155,6 +155,7 @@ fn main() {
|
|||
if foptions.is_c {
|
||||
exit(2)
|
||||
}
|
||||
exit(1)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue