!584 提示中单词拼写错误

Merge pull request !584 from yuyanqing/master
This commit is contained in:
openharmony_ci 2024-09-02 08:53:07 +00:00 committed by Gitee
commit 4258ea5e2f
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -664,8 +664,8 @@ bool CheckAppIsRunning (std::vector<pid_t> &selectPids, const std::string &appPa
bool IsExistDebugByApp(const std::string& bundleName)
{
if (!IsSupportNonDebuggableApp() && !bundleName.empty() && !IsDebugableApp(bundleName)) {
HLOGE("--app option only support debug aplication.");
printf("--app option only support debug aplication\n");
HLOGE("--app option only support debug application.");
printf("--app option only support debug application\n");
return false;
}
return true;
@ -678,8 +678,8 @@ bool IsExistDebugByPid(const std::vector<pid_t> &pids)
CHECK_TRUE(pid <= 0, false, LOG_TYPE_PRINTF, "Invalid -p value '%d', the pid should be larger than 0\n", pid);
std::string bundleName = GetProcessName(pid);
if (!IsSupportNonDebuggableApp() && !IsDebugableApp(bundleName)) {
HLOGE("-p option only support debug aplication for %s", bundleName.c_str());
printf("-p option only support debug aplication\n");
HLOGE("-p option only support debug application for %s", bundleName.c_str());
printf("-p option only support debug application\n");
return false;
}
}