mirror of
https://github.com/openharmony/js_sys_module.git
synced 2026-07-19 23:13:39 -04:00
Signed-off-by: lifansheng <lifansheng1@huawei.com>
On branch master Your branch is up to date with 'origin/master'.
This commit is contained in:
@@ -65,7 +65,7 @@ namespace OHOS::Js_sys_module::Process {
|
||||
|| propertyType == napi_undefined,
|
||||
"Wrong KillSignal argument typr. String or number expected");
|
||||
break;
|
||||
case 2:
|
||||
case 2: // 2:The parameter value
|
||||
NAPI_CALL(env, napi_typeof(env, property, &propertyType));
|
||||
NAPI_ASSERT(env, propertyType == napi_number || propertyType == napi_undefined,
|
||||
"Wrong maxBuffer argument typr. Number expected");
|
||||
|
||||
Reference in New Issue
Block a user