From 790961e73ae609c0b82bb5977583984fb4b07f4a Mon Sep 17 00:00:00 2001 From: Lukas Neubert Date: Thu, 8 Apr 2021 02:11:56 +0200 Subject: [PATCH] fmt: remove duplicate worker error check (#9631) --- cmd/tools/vfmt.v | 7 ------- 1 file changed, 7 deletions(-) diff --git a/cmd/tools/vfmt.v b/cmd/tools/vfmt.v index a9cde364b1..ececbe9f6c 100644 --- a/cmd/tools/vfmt.v +++ b/cmd/tools/vfmt.v @@ -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)