Skip to content
This repository was archived by the owner on Jul 12, 2022. It is now read-only.

Commit ea592c2

Browse files
authored
Merge pull request #249 from hanswolff/master
Fix for issue #248: CodeFormatter returns with exit code 0 on error
2 parents bcc5117 + 0fa52a3 commit ea592c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CodeFormatter/Program.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ private static int Main(string[] args)
4747
throw new Exception("Invalid enum value: " + options.Operation);
4848
}
4949

50-
return 0;
50+
return exitCode;
5151
}
5252

5353
private static void RunListRules()

0 commit comments

Comments
 (0)