Mercurial > hg > svcore
changeset 1502:2765b9db402b checker_errorcode
Avoid reporting failure when everything in fact succeeded!
author | Chris Cannam |
---|---|
date | Thu, 30 Aug 2018 12:59:16 +0100 |
parents | 0ee87bc10cdc |
children | 2057423c88fe |
files | plugin/PluginScan.cpp |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/plugin/PluginScan.cpp Wed Aug 29 17:42:06 2018 +0100 +++ b/plugin/PluginScan.cpp Thu Aug 30 12:59:16 2018 +0100 @@ -290,7 +290,9 @@ QString report; for (auto kp: m_kp) { auto failures = kp.second->getFailures(); - report += formatFailureReport(kp.first, failures); + if (!failures.empty()) { + report += formatFailureReport(kp.first, failures); + } } if (report == "") { return report;