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

(#2345) Do not add trailing space to arguments #2950

Closed

Conversation

TheCakeIsNaOH
Copy link
Member

Description Of Changes

This prevents the addition of a trailing space after silent arguments in Install-ChocolateyInstallPackage when there are no additional arguments.

Motivation and Context

See #2345

Testing

TODO

Operating Systems Testing

  • Windows 10 22H2

Change Types Made

  • Bug fix (non-breaking change).
  • Feature / Enhancement (non-breaking change).
  • Breaking change (fix or feature that could cause existing functionality to change).
  • Documentation changes.
  • PowerShell code changes.

Change Checklist

  • Requires a change to the documentation.
  • Documentation has been updated.
  • Tests to cover my changes, have been added.
  • All new and existing tests passed?
  • PowerShell code changes: PowerShell v2 compatibility checked?

Related Issue

Fixes #2345

This prevents the addition of a trailing space after silent arguments in
Install-ChocolateyInstallPackage when there are no additional arguments.
@gep13
Copy link
Member

gep13 commented May 7, 2024

@TheCakeIsNaOH thank you for taking the time to submit this PR, and apologies for the time it has taken to come back to you about it.

In the end, there were 3 PR's that attempted to address this problem, and based on a review by @corbob we have opted to move forward with a different PR:

#3113

As such, I am going to go ahead and close out this PR. Thank you again for raising this PR, and bringing additional focus on the underlying problem.

@gep13 gep13 closed this May 7, 2024
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.

Ensure Install-ChocolateyInstallPackage does not add a trailing space to silent arguments
2 participants