Skip to content

Commit e2659cf

Browse files
author
Jake Ginnivan
committed
made processhelper private and cleaned up unused stuff
1 parent b34da34 commit e2659cf

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

GitVersion/ProcessHelper.cs

+4-7
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ namespace GitVersion
66
using System.Runtime.InteropServices;
77
using System.Threading;
88

9-
public static class ProcessHelper
9+
static class ProcessHelper
1010
{
1111
private static volatile object _lockObject = new object();
1212

@@ -88,16 +88,13 @@ public static int Run(Action<string> output, Action<string> errorOutput, TextRea
8888
}
8989

9090
[Flags]
91-
public enum ErrorModes
91+
enum ErrorModes
9292
{
93-
Default = 0x0,
9493
FailCriticalErrors = 0x1,
95-
NoGpFaultErrorBox = 0x2,
96-
NoAlignmentFaultExcept = 0x4,
97-
NoOpenFileErrorBox = 0x8000
94+
NoGpFaultErrorBox = 0x2
9895
}
9996

100-
public struct ChangeErrorMode : IDisposable
97+
struct ChangeErrorMode : IDisposable
10198
{
10299
private readonly int _oldMode;
103100

0 commit comments

Comments
 (0)