Skip to content

Commit

Permalink
workingDirectory param default to empty string
Browse files Browse the repository at this point in the history
  • Loading branch information
skaryshev committed Jan 14, 2016
1 parent 65da942 commit 7f07cce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Squirrel/Utility.cs
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ public static T Retry<T>(this Func<T> block, int retries = 2)
}
}

public static Task<Tuple<int, string>> InvokeProcessAsync(string fileName, string arguments, CancellationToken ct, string workingDirectory = null)
public static Task<Tuple<int, string>> InvokeProcessAsync(string fileName, string arguments, CancellationToken ct, string workingDirectory = "")
{
var psi = new ProcessStartInfo(fileName, arguments);
if (Environment.OSVersion.Platform != PlatformID.Win32NT && fileName.EndsWith (".exe", StringComparison.OrdinalIgnoreCase)) {
Expand Down

0 comments on commit 7f07cce

Please sign in to comment.