1
0
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:
Lukas Neubert 2021-04-08 02:11:56 +02:00 committed by GitHub
parent 73238a81e2
commit 790961e73a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -104,13 +104,6 @@ fn main() {
eprintln('vfmt worker_cmd: $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.
if worker_result.exit_code != 0 {
eprintln(worker_result.output)