mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 15:38:10 +00:00
LibJS: Fix logic typo in ContinueModuleLoading
This commit is contained in:
parent
fc31a0d506
commit
5e67853b49
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue