Open MarkOsborneMS opened 7 months ago
Describe the bug When I try and run the WinGet task using the DevBox CLI I get the following error: "stderr":"WithRetry : The term 'WithRetry' is not recognized as the name of a cmdlet, function, script file, or operable program.
To Reproduce Steps to reproduce the behavior:
"stderr":"WithRetry : The term 'WithRetry' is not recognized as the name of a cmdlet, function, script file, or operable program.
Expected behavior It works
Additional context In Tasks/winget/main.ps1
WithRetry is used but not defined and generates the following error when I try and run a WinGet task using the DevBox CLI:
It looks like the code was copied from the git-clone task but WithRetry function was missed.
Just ran into the exact same issue.
Proposed fix in PR #61
Describe the bug When I try and run the WinGet task using the DevBox CLI I get the following error: "stderr":"WithRetry : The term 'WithRetry' is not recognized as the name of a cmdlet, function, script file, or operable program.
To Reproduce Steps to reproduce the behavior:
"stderr":"WithRetry : The term 'WithRetry' is not recognized as the name of a cmdlet, function, script file, or operable program.
Expected behavior It works
Additional context In Tasks/winget/main.ps1
WithRetry is used but not defined and generates the following error when I try and run a WinGet task using the DevBox CLI:
"stderr":"WithRetry : The term 'WithRetry' is not recognized as the name of a cmdlet, function, script file, or operable program.
It looks like the code was copied from the git-clone task but WithRetry function was missed.