@@ -395,16 +395,39 @@ component singleton {
395395 languageGuidelineFile = " `.ai/guidelines/core/boxlang.md`"
396396 languageGuidelineDesc = " BoxLang/CFML syntax and patterns (or `cfml.md` for CFML-only)"
397397 }
398- content = replaceNoCase ( content , " |LANGUAGE_GUIDELINE_FILE|" , languageGuidelineFile , " all" )
399- content = replaceNoCase ( content , " |LANGUAGE_GUIDELINE_DESC|" , languageGuidelineDesc , " all" )
398+ content = replaceNoCase (
399+ content ,
400+ " |LANGUAGE_GUIDELINE_FILE|" ,
401+ languageGuidelineFile ,
402+ " all"
403+ )
404+ content = replaceNoCase (
405+ content ,
406+ " |LANGUAGE_GUIDELINE_DESC|" ,
407+ languageGuidelineDesc ,
408+ " all"
409+ )
400410
401411 // Generate installed modules content
402412 var installedModulesContent = generateInstalledModulesContent ( arguments .directory , boxJson )
403- content = replaceNoCase ( content , " |INSTALLED_MODULES|" , installedModulesContent , " all" )
413+ content = replaceNoCase (
414+ content ,
415+ " |INSTALLED_MODULES|" ,
416+ installedModulesContent ,
417+ " all"
418+ )
404419
405420 // Generate handlers snapshot
406- var handlersSnapshotContent = generateHandlersSnapshot ( arguments .directory , arguments .templateType )
407- content = replaceNoCase ( content , " |HANDLERS_SNAPSHOT|" , handlersSnapshotContent , " all" )
421+ var handlersSnapshotContent = generateHandlersSnapshot (
422+ arguments .directory ,
423+ arguments .templateType
424+ )
425+ content = replaceNoCase (
426+ content ,
427+ " |HANDLERS_SNAPSHOT|" ,
428+ handlersSnapshotContent ,
429+ " all"
430+ )
408431
409432 // Add guidelines inventory (module and additional guidelines only)
410433 var guidelinesContent = generateGuidelinesContent (
@@ -858,8 +881,13 @@ component singleton {
858881 " (?i)(?:^|\s)(?:public\s+)?(?:\w+\s+)?function\s+(\w+)\s*\("
859882 )
860883
861- var handlerFiles = directoryList ( handlersRoot , false , " path" , " *.cfc|*.bx" )
862- var lines = []
884+ var handlerFiles = directoryList (
885+ handlersRoot ,
886+ false ,
887+ " path" ,
888+ " *.cfc|*.bx"
889+ )
890+ var lines = []
863891
864892 for ( var handlerFile in handlerFiles ) {
865893 var handlerName = listFirst ( getFileFromPath ( handlerFile ), " ." )
@@ -877,7 +905,7 @@ component singleton {
877905 }
878906
879907 if ( actions .len () ) {
880- lines .append ( " - **#handlerName #**: #actions .toList ( ' , ' ) #" )
908+ lines .append ( " - **#handlerName #**: #actions .toList ( " , " ) #" )
881909 } else {
882910 lines .append ( " - **#handlerName #**: _(no public actions)_" )
883911 }
0 commit comments