update frameworks/js/napi/app/app_manager/js_app_manager.cpp.

Signed-off-by: 夏良伟 <xialiangwei1@huawei.com>
This commit is contained in:
夏良伟 2024-07-27 06:11:04 +00:00 committed by Gitee
parent d9201c5b21
commit 0139b3e483
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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."));
}
};