mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-11 05:25:32 +03:00
parent
645657865d
commit
37bfaf4e7c
Notes:
sideshowbarker
2024-07-18 22:50:02 +09:00
Author: https://github.com/alimpfard Commit: https://github.com/SerenityOS/serenity/commit/37bfaf4e7c4 Pull-request: https://github.com/SerenityOS/serenity/pull/5120 Issue: https://github.com/SerenityOS/serenity/issues/5119
@ -1619,9 +1619,6 @@ RefPtr<Value> IfCond::run(RefPtr<Shell> shell)
|
||||
auto cond_job = cond_job_value->job();
|
||||
|
||||
shell->block_on_job(cond_job);
|
||||
|
||||
if (cond_job->signaled())
|
||||
return create<ListValue>({}); // Exit early.
|
||||
}
|
||||
if (shell->last_return_code == 0) {
|
||||
if (m_true_branch)
|
||||
|
Loading…
Reference in New Issue
Block a user