fmt: remove duplicate worker error check (#9631)
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