mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
fmt: remove duplicate worker error check (#9631)
This commit is contained in:
parent
73238a81e2
commit
790961e73a
@ -104,13 +104,6 @@ fn main() {
|
|||||||
eprintln('vfmt worker_cmd: $worker_cmd')
|
eprintln('vfmt worker_cmd: $worker_cmd')
|
||||||
}
|
}
|
||||||
worker_result := os.execute(worker_cmd)
|
worker_result := os.execute(worker_cmd)
|
||||||
if worker_result.exit_code != 0 {
|
|
||||||
if foptions.is_debug {
|
|
||||||
eprintln(worker_result.output)
|
|
||||||
}
|
|
||||||
errors++
|
|
||||||
continue
|
|
||||||
}
|
|
||||||
// Guard against a possibly crashing worker process.
|
// Guard against a possibly crashing worker process.
|
||||||
if worker_result.exit_code != 0 {
|
if worker_result.exit_code != 0 {
|
||||||
eprintln(worker_result.output)
|
eprintln(worker_result.output)
|
||||||
|
Loading…
Reference in New Issue
Block a user