未验证 提交 3c08f0e1 编写于 作者: O openharmony_ci 提交者: Gitee

!8576 fix napi xts fail

Merge pull request !8576 from huangzhenghua/master20230428
......@@ -286,10 +286,10 @@ static napi_value getAndClearLastException(napi_env env, napi_callback_info info
static napi_value isExceptionPending(napi_env env, napi_callback_info info)
{
bool exceptionWasPending = false;
bool exceptionWasPending = true;
napi_is_exception_pending(env, &exceptionWasPending);
NAPI_ASSERT(env, exceptionWasPending, "error succes");
NAPI_ASSERT(env, !exceptionWasPending, "isExceptionPending failed");
napi_value _value;
NAPI_CALL(env, napi_create_int32(env, 0, &_value));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册