Skip to content

Commit

Permalink
Commenting for race fixes for later [release]
Browse files Browse the repository at this point in the history
  • Loading branch information
timheuer committed Feb 17, 2022
1 parent d657839 commit 8d5b672
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions AddActionsWorkflow/Commands/MyCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ protected override async Task ExecuteAsync(OleMenuCmdEventArgs e)
var overwriteFile = general.OverwriteExisting ? "--force" : "";
proc.StartInfo.Arguments = $"new workflow -n {workflowName} --no-update-check {overwriteFile}";
proc.Start();

// TODO: Fix for race condition
proc.WaitForExit();

// add solution folder
Expand Down Expand Up @@ -63,6 +65,8 @@ internal async Task<String> GetGitRootDirAsync(string workingDirectory)
git.StartInfo.FileName = "git";
git.StartInfo.Arguments = "rev-parse --show-toplevel";
git.Start();

// TODO: Fix for race condition
git.WaitForExit();

if (git.ExitCode == 0)
Expand Down

0 comments on commit 8d5b672

Please sign in to comment.