Skip to content

Commit 90b2460

Browse files
authored
Uses correct argument character for BC on non-windows platforms
Based on #26
1 parent 6ef9a46 commit 90b2460

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Assent/Reporters/DiffPrograms/BeyondCompareDiffProgram.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ public BeyondCompareDiffProgram(IReadOnlyList<string> searchPaths)
4242
protected override string CreateProcessStartArgs(string receivedFile, string approvedFile)
4343
{
4444
var defaultArgs = base.CreateProcessStartArgs(receivedFile, approvedFile);
45-
return $"{defaultArgs} /solo";
45+
var argChar = DiffReporter.IsWindows ? "/" : "-";
46+
return $"{defaultArgs} {argChar}solo" ;
4647
}
4748
}
4849
}

0 commit comments

Comments
 (0)