diff --git a/src/module_wrap.cc b/src/module_wrap.cc index f6285182d92871..15468b6c638748 100644 --- a/src/module_wrap.cc +++ b/src/module_wrap.cc @@ -423,9 +423,9 @@ static Local createModuleRequestsContainer( Local specifier = module_request->GetSpecifier(); - // Contains the import assertions for this request in the form: + // Contains the import attributes for this request in the form: // [key1, value1, source_offset1, key2, value2, source_offset2, ...]. - Local raw_attributes = module_request->GetImportAssertions(); + Local raw_attributes = module_request->GetImportAttributes(); Local attributes = createImportAttributesContainer(realm, isolate, raw_attributes, 3);