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

Ssh should implement PrintedInterface #1152

Merged
merged 1 commit into from
Mar 11, 2024

Conversation

prudloff-insite
Copy link
Contributor

Overview

This pull request:

  • Fixes a bug
  • Adds a feature
  • Breaks backwards compatibility
  • Has tests that cover changes
  • Adds or fixes documentation

Summary

Ssh uses ExecTrait so it has the getPrinted() method. It would make sense for this class to implement PrintedInterface.

Description

Fixes #919.
The logic in Result::printError() does not work correctly because it does not known that $task->getPrinted() is available so it always reprints the error even if already printed.

It uses ExecTrait so it has the getPrinted() method
@greg-1-anderson
Copy link
Member

Thanks for the fix.

@greg-1-anderson greg-1-anderson merged commit 0e1f409 into consolidation:4.x Mar 11, 2024
7 checks passed
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.

Duplicate output in non-interactive mode
2 participants