1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 03:17:35 +00:00

Shell: Mark And and Or nodes as execute nodes

This commit is contained in:
AnotherTest 2020-06-24 07:45:24 +04:30 committed by Andreas Kling
parent 3a37e8c56f
commit d2bdbc3e77
3 changed files with 9 additions and 3 deletions

View file

@ -688,6 +688,9 @@ RefPtr<Value> Execute::run(RefPtr<Shell> shell)
{
RefPtr<Job> job;
if (m_command->would_execute())
return m_command->run(shell);
auto initial_commands = m_command->run(shell)->resolve_as_commands(shell);
decltype(initial_commands) commands;