Skip to content

Commit

Permalink
Merge pull request #558 from skaryshev/skaryshev_msi_fix
Browse files Browse the repository at this point in the history
InvokeProcessAsync workingDirectory param default to empty string
  • Loading branch information
anaisbetts committed Jan 14, 2016
2 parents c86d3d0 + 7f07cce commit f4a9794
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 f4a9794

Please sign in to comment.