diff --git a/core/config/profile/doLoadConfig.ts b/core/config/profile/doLoadConfig.ts index 33bdf9b6c..53c35528d 100644 --- a/core/config/profile/doLoadConfig.ts +++ b/core/config/profile/doLoadConfig.ts @@ -175,7 +175,7 @@ export default async function doLoadConfig( }); Object.entries(counts).forEach(([toolName, count]) => { if (count > 1) { - errors.push({ + errors!.push({ fatal: false, message: `Duplicate (${count}) tools named "${toolName}" detected. Permissions will conflict and usage may be unpredictable`, });