fix community code alarms

Signed-off-by: y00576111 <yaojian16@huawei.com>
Change-Id: Icf956b44239c7cef5d5ce085c53b138886466c76
This commit is contained in:
y00576111
2021-09-24 10:44:19 +08:00
parent 3c4468cf9a
commit 1407e583c9
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -69,7 +69,7 @@ void CallWorkCallback(napi_env env, napi_value recv, size_t argc, const napi_val
napi_get_named_property(env, recv, type, &callback);
if (NapiValueHelp::IsCallable(env, callback)) {
napi_value callbackResult = nullptr;
napi_call_function(env, recv, callback, 1, argv, &callbackResult);
napi_call_function(env, recv, callback, argc, argv, &callbackResult);
}
}
+1 -1
View File
@@ -12,7 +12,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "worker_runner.h"
#include <list>