Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(powershell): replace errors with throw #651

Merged
merged 1 commit into from
Dec 18, 2023
Merged

Conversation

mistydemeo
Copy link
Contributor

I don't know if this is correct, and I can't test myself, but this is my interpretation of the proposed fix in #484.

Fixes #484.

@mistydemeo mistydemeo requested a review from Gankra December 14, 2023 23:24
@mistydemeo mistydemeo force-pushed the powershell_fix_errors branch from ec1d1e5 to 1dacf27 Compare December 14, 2023 23:29
@@ -58,7 +58,7 @@ function Install-Binary($install_args) {
Initialize-Environment
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ErrorActionPreference no longer should be overriden above and below in this function

@mistydemeo mistydemeo force-pushed the powershell_fix_errors branch 4 times, most recently from 9c88803 to 5d9ec4d Compare December 18, 2023 19:49
Co-authored-by: Aria Beingessner <a.beingessner@gmail.com>

Fixes #484.
@mistydemeo mistydemeo force-pushed the powershell_fix_errors branch from 976ff85 to dec41f6 Compare December 18, 2023 19:54
@mistydemeo mistydemeo merged commit 10471f5 into main Dec 18, 2023
@mistydemeo mistydemeo deleted the powershell_fix_errors branch December 18, 2023 20:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Generated PowerShell installer prints confusing error
2 participants