[skyeye-governance] Fix suspended guard check consistency in weekly-scan.js

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/33ac7cc1-616d-426c-9b8f-6ad1a72df739
This commit is contained in:
copilot-swe-agent[bot] 2026-03-23 14:33:18 +00:00
parent 5af416d710
commit e145f358f8
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ function countGuards() {
const guard = loadJSON(path.join(guardsDir, file));
if (guard) {
if (guard.status === 'active') active++;
else if (guard.mode === 'suspended') suspended++;
else if (guard.status === 'suspended' || guard.mode === 'suspended') suspended++;
}
}