mirror of
https://github.com/openharmony/ace_napi.git
synced 2026-07-22 09:15:27 -04:00
@@ -284,7 +284,7 @@ NativeModule* NativeModuleManager::FindNativeModuleByCache(const char* moduleNam
|
||||
{
|
||||
NativeModule* result = nullptr;
|
||||
for (NativeModule* temp = firstNativeModule_; temp != nullptr; temp = temp->next) {
|
||||
if (!strcmp(temp->name, moduleName)) {
|
||||
if (!strcasecmp(temp->name, moduleName)) {
|
||||
result = temp;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user