mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-04 15:45:25 +00:00
LibJS: Fix logic typo in ContinueModuleLoading
This commit is contained in:
@@ -141,7 +141,7 @@ void CyclicModule::inner_module_loading(JS::GraphLoadingState& state)
|
||||
void continue_module_loading(GraphLoadingState& state, ThrowCompletionOr<NonnullGCPtr<Module>> const& module_completion)
|
||||
{
|
||||
// 1. If state.[[IsLoading]] is false, return UNUSED.
|
||||
if (state.is_loading)
|
||||
if (!state.is_loading)
|
||||
return;
|
||||
|
||||
// 2. If moduleCompletion is a normal completion, then
|
||||
|
||||
Reference in New Issue
Block a user