From 0fa52a3fa472ad98f8d7f6dc5db0966bfa30447c Mon Sep 17 00:00:00 2001 From: Hans Wolff Date: Thu, 8 Dec 2016 13:49:34 +0100 Subject: [PATCH] Fix for issue #248: CodeFormatter returns with exit code 0 on error --- src/CodeFormatter/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CodeFormatter/Program.cs b/src/CodeFormatter/Program.cs index a7456ec2..ce5a3993 100644 --- a/src/CodeFormatter/Program.cs +++ b/src/CodeFormatter/Program.cs @@ -47,7 +47,7 @@ private static int Main(string[] args) throw new Exception("Invalid enum value: " + options.Operation); } - return 0; + return exitCode; } private static void RunListRules()