From 0185e012bb579948a4de1ea3950db4e399761619 Mon Sep 17 00:00:00 2001 From: Brian Madison Date: Thu, 19 Jun 2025 12:41:19 -0500 Subject: [PATCH] fix: resolve undefined config properties in performUpdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Added optional chaining for newConfig.ide access - Added ides array to config object in performUpdate - Fixes 'Cannot read properties of undefined' error after update - Ensures all required config properties are present for showSuccessMessage 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- tools/installer/lib/installer.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/installer/lib/installer.js b/tools/installer/lib/installer.js index 1757f07d..e5a5082b 100644 --- a/tools/installer/lib/installer.js +++ b/tools/installer/lib/installer.js @@ -552,7 +552,8 @@ class Installer { installType: manifest.install_type, agent: manifest.agent, directory: installDir, - ide: newConfig.ide || manifest.ide_setup, // Use new IDE choice if provided + ide: newConfig?.ide || manifest.ide_setup, // Use new IDE choice if provided + ides: newConfig?.ides || manifest.ides_setup || [], }; await this.performFreshInstall(config, installDir, spinner);