Below is code which passes a check on Linux (Ubuntu) but fails it on Windows
ProcessStartInfo startInfo = new ProcessStartInfo("git.exe")
{
Arguments = "rev-parse --abbrev-ref HEAD",
UseShellExecute = false,
RedirectStandardInput = true,
RedirectStandardOutput = true,
WorkingDirectory = new FileInfo(GetType().Assembly.Location).DirectoryName
};
Should probably fail on both?
Had a look quickly at the code, but didn't see a test case for something like this.
Below is code which passes a check on Linux (Ubuntu) but fails it on Windows
Should probably fail on both?
Had a look quickly at the code, but didn't see a test case for something like this.