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 autoclip-on-generate behavior. #2040

Closed

Conversation

acaloiaro
Copy link

Fix #2023

Previously, secrets would autoclip only when output was being
redirected, which is incorrect. Secrets should autoclip when output is
not being redirected (i.e. we're on a TTY).

RELEASE_NOTES=[BUGFIX] Fixed autoclip when generating secrets.

Signed-off-by: Adriano Caloiaro github@adriano.fyi

Previously, secrets would autoclip only when output was being
redirected, which is incorrect. Secrets should autoclip when output is
not being redirected (i.e. we're on a TTY).

RELEASE_NOTES=[BUGFIX] Fixed autoclip when generating secrets.

Signed-off-by: Adriano Caloiaro <github@adriano.fyi>
@AnomalRoil
Copy link
Member

I think that was actually already fixed in #2024, no?

But you have more tests, so I'd love to still get the extra tests if you could rebase on master and fix the conflict?

@acaloiaro
Copy link
Author

I see. I'll go ahead and shut this one down. If anyone wants to grab the extra test and apply it, please feel free.

@acaloiaro acaloiaro closed this Nov 15, 2021
@acaloiaro
Copy link
Author

@AnomalRoil The existing test appears to be nearly identical in coverage to mine: dominikschulz@c53a985#diff-0ed14f4fcc141393a29d562b970e0f3efa80ae0608ed2a3d00ceb37bba8918fd

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.

Autoclip on generate broken
2 participants