Fix Sentry wrapper compilation

This commit is contained in:
Christian Kaiser 2024-09-24 01:06:09 -03:00 committed by David Capello
parent 4e2488534f
commit a975873f7a

View File

@ -109,7 +109,7 @@ bool Sentry::areThereCrashesToReport()
// At least one .dmp file in the completed/ directory means that // At least one .dmp file in the completed/ directory means that
// there was at least one crash in the past (this is for macOS). // there was at least one crash in the past (this is for macOS).
if (!base::join_path(m_dbdir, "completed"), base::ItemType::Files, "*.dmp").empty()) if (!base::list_files(base::join_path(m_dbdir, "completed"), base::ItemType::Files, "*.dmp").empty())
return true; return true;
// In case that "last_crash" doesn't exist we can check for some // In case that "last_crash" doesn't exist we can check for some