Skip to content

Commit 222df5b

Browse files
committed
Removed duplicate task wrapper.
1 parent 946e04f commit 222df5b

File tree

1 file changed

+3
-3
lines changed
  • Assets/Plugins/CandyCoded.GitStatus/Scripts/CustomEditor

1 file changed

+3
-3
lines changed

Assets/Plugins/CandyCoded.GitStatus/Scripts/CustomEditor/Git.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,18 @@ public static class Git
1818
public static string GitPath => "/usr/local/bin/git";
1919
#endif
2020

21-
private static Task<Process> GenerateProcess(string path, string arguments)
21+
private static Process GenerateProcess(string path, string arguments)
2222
{
2323

24-
return Task.Run(() => Process.Start(new ProcessStartInfo
24+
return Process.Start(new ProcessStartInfo
2525
{
2626
FileName = path,
2727
Arguments = arguments,
2828
UseShellExecute = false,
2929
RedirectStandardOutput = true,
3030
RedirectStandardError = true,
3131
CreateNoWindow = true
32-
}));
32+
});
3333

3434
}
3535

0 commit comments

Comments
 (0)