From f5fed3d44cc2400525f0ffbf2eb98c1aa2c31ffa Mon Sep 17 00:00:00 2001 From: Vladimir Panteleev Date: Tue, 13 Jun 2017 21:49:04 +0000 Subject: [PATCH] std.process: Fix brace style Fixes CircleCI style checks. --- std/process.d | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/std/process.d b/std/process.d index f9f2763d0..0569e9dca 100644 --- a/std/process.d +++ b/std/process.d @@ -574,11 +574,10 @@ private Pid spawnProcessImpl(in char[][] args, assert(false); } - if (readExecResult == error.sizeof) { + if (readExecResult == error.sizeof) throw ProcessException.newFromErrno(error, errorMsg); - } else { + else throw new ProcessException(errorMsg); - } } // Parent process: Close streams and return.