Skip to content

Commit 5417b1a

Browse files
committed
allow dump switch on unix as well as windows
1 parent f89dbb8 commit 5417b1a

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/GitVersionCore/Extensions/LibGitExtensions.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
using System.Collections.Generic;
33
using System.IO;
44
using System.Linq;
5-
using System.Runtime.InteropServices;
65
using System.Text;
76
using GitVersion.Helpers;
87
using LibGit2Sharp;
@@ -112,8 +111,6 @@ public static void DumpGraph(this IRepository repository, Action<string> writer
112111

113112
public static void DumpGraph(string workingDirectory, Action<string> writer = null, int? maxCommits = null)
114113
{
115-
if (!RuntimeInformation.IsOSPlatform(OSPlatform.Windows)) return;
116-
117114
var output = new StringBuilder();
118115
try
119116
{

0 commit comments

Comments
 (0)