File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -197,14 +197,14 @@ component singleton {
197197 for ( var agent in arguments .agents ) {
198198 var agentSkillsDir = getAgentSkillsDirectory ( dir , agent )
199199 if ( isNull ( agentSkillsDir ) ) {
200- continue
200+ continue ;
201201 }
202202
203203 var linkPath = " #agentSkillsDir #/#skill #"
204204
205205 // Skip if link/directory already exists
206206 if ( directoryExists ( linkPath ) || fileExists ( linkPath ) ) {
207- continue
207+ continue ;
208208 }
209209
210210 try {
@@ -249,7 +249,7 @@ component singleton {
249249 for ( var agent in arguments .agents ) {
250250 var agentSkillsDir = getAgentSkillsDirectory ( dir , agent )
251251 if ( isNull ( agentSkillsDir ) ) {
252- continue
252+ continue ;
253253 }
254254
255255 var linkPath = " #agentSkillsDir #/#skill #"
@@ -260,7 +260,9 @@ component singleton {
260260 Files .delete ( path )
261261 }
262262 } catch ( any e ) {
263- // Silently ignore removal errors
263+ variables .print
264+ .yellowLine ( " ⚠️ Could not remove symlink for agent '#agent #': #e .message #" )
265+ .toConsole ()
264266 }
265267 }
266268 }
You can’t perform that action at this time.
0 commit comments