Skip to content

Whitespace differences between Windows and Linux #705

@virzak

Description

@virzak

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs More InfoThis issue needs additional details to be actionable

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions