We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b7b842 commit 933ac36Copy full SHA for 933ac36
src/Azure.Functions.Cli/Helpers/PythonHelpers.cs
@@ -79,6 +79,14 @@ private static async Task VerifyVersion()
79
var exitCode = await exe.RunAsync(l => sb.AppendLine(l), e => sb.AppendLine(e));
80
if (exitCode == 0)
81
{
82
+ var trials = 0;
83
+ // this delay to make sure the output
84
+ while (string.IsNullOrWhiteSpace(sb.ToString()) && trials < 5)
85
+ {
86
+ trials++;
87
+ await Task.Delay(TimeSpan.FromMilliseconds(200));
88
+ }
89
+
90
var output = sb.ToString();
91
if (output.IndexOf("3.6") == -1)
92
0 commit comments