mirror of
https://gitee.com/openharmony/ability_ability_runtime
synced 2024-12-11 20:03:42 +00:00
update frameworks/js/napi/app/app_manager/js_app_manager.cpp.
Signed-off-by: 夏良伟 <xialiangwei1@huawei.com>
This commit is contained in:
parent
d9201c5b21
commit
0139b3e483
@ -401,7 +401,7 @@ private:
|
||||
if (ret == 0) {
|
||||
task.Resolve(env, CreateJsValue(env, ret));
|
||||
} else {
|
||||
task->Reject(env, CreateJsError(env, AAFwk::CLEAR_APPLICATION_DATA_FAIL,
|
||||
task.Reject(env, CreateJsError(env, AAFwk::CLEAR_APPLICATION_DATA_FAIL,
|
||||
"clear up application failed."));
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user