Created
January 17, 2014 14:59
-
-
Save dgrunwald/8474772 to your computer and use it in GitHub Desktop.
Invalid code that messes up locations in NRefactory parser
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Linq; | |
class Test | |
{ | |
public static Task<int> RunGitAsync(string workingDir, params string[] arguments) | |
{ | |
string git = FindGit(); | |
if (git == null) | |
return Task.FromResult(9009); | |
ProcessRunner p = new ProcessRunner(); | |
p.WorkingDirectory = workingDir; | |
return p.RunInOutputPadAsync(GitMessageView.Category, git", arguments); | |
} | |
/// <summary> | |
/// Finds 'git.exe' | |
/// </summary> | |
public static string FindGit() | |
{ | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment