You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The output should contain the following text once before the output of ls:
[Docker\Exec] Running docker exec container_id ls
Actual behavior
The output contains that line twice:
[Docker\Exec] Running docker exec container_id ls
[Docker\Exec] Running docker exec container_id ls
This is apparently caused by line 23 of src/Task/Docker/Base.php, which prints the task info. The task info is already being printed as part of ExecTrait as part of printAction() (called by execute()).
As far as I can tell it seems like the best solution is simply to remove line 23 of src/Task/Docker/Base.php and rely on ExecTrait to print the task info (but I'm not yet familiar enough with the Robo codebase to be confident about that).
System Configuration
macOS Sierra v10.12.4. PHP 5.6.8.
The text was updated successfully, but these errors were encountered:
Steps to reproduce
Add the following task to your
RoboFile
and run it (wherecontainer_id
is the name of a valid Linux Docker container).Expected behavior
The output should contain the following text once before the output of
ls
:Actual behavior
The output contains that line twice:
This is apparently caused by line 23 of
src/Task/Docker/Base.php
, which prints the task info. The task info is already being printed as part ofExecTrait
as part ofprintAction()
(called byexecute()
).As far as I can tell it seems like the best solution is simply to remove line 23 of
src/Task/Docker/Base.php
and rely onExecTrait
to print the task info (but I'm not yet familiar enough with the Robo codebase to be confident about that).System Configuration
macOS Sierra v10.12.4. PHP 5.6.8.
The text was updated successfully, but these errors were encountered: