@@ -2,8 +2,8 @@ component singleton {
22
33 // DI
44 property name = " moduleService" inject = " ModuleService" ;
5- property name = " wirebox" inject = " wirebox" ;
6- property name = " print" inject = " PrintBuffer" ;
5+ property name = " wirebox" inject = " wirebox" ;
6+ property name = " print" inject = " PrintBuffer" ;
77
88 this .BREAK = chr ( 13 ) & chr ( 10 );
99 this .TAB = chr ( 9 );
@@ -13,13 +13,16 @@ component singleton {
1313 * else install it
1414 */
1515 function ensureTestBoxModule (){
16- if ( ! isTestBoxModuleInstalled () ){
16+ if ( ! isTestBoxModuleInstalled () ) {
1717 variables .print
1818 .redLine ( " TestBox-CLI module not installed. Installing it for you, please wait..." )
1919 .line ()
2020 .toConsole ();
2121 variables .wirebox
22- .getInstance ( name : " CommandDSL" , initArguments : { name : " install testbox-cli" } )
22+ .getInstance (
23+ name : " CommandDSL" ,
24+ initArguments : { name : " install testbox-cli" }
25+ )
2326 .run ();
2427 }
2528 }
@@ -29,13 +32,16 @@ component singleton {
2932 * else install it
3033 */
3134 function ensureMigrationsModule (){
32- if ( ! isMigrationsModuleInstalled () ){
35+ if ( ! isMigrationsModuleInstalled () ) {
3336 variables .print
3437 .redLine ( " CommandBox-Migrations module not installed. Installing it for you, please wait..." )
3538 .line ()
3639 .toConsole ();
3740 variables .wirebox
38- .getInstance ( name : " CommandDSL" , initArguments : { name : " install commandbox-migrations" } )
41+ .getInstance (
42+ name : " CommandDSL" ,
43+ initArguments : { name : " install commandbox-migrations" }
44+ )
3945 .run ();
4046 }
4147 }
@@ -44,14 +50,20 @@ component singleton {
4450 * Is TestBox module installed
4551 */
4652 boolean function isTestBoxModuleInstalled (){
47- return variables .moduleService .getModuleRegistry ().keyArray ().findNoCase ( " testbox-cli" ) > 0 ? true : false ;
53+ return variables .moduleService
54+ .getModuleRegistry ()
55+ .keyArray ()
56+ .findNoCase ( " testbox-cli" ) > 0 ? true : false ;
4857 }
4958
5059 /**
5160 * Is CommandBox Migrations module installed
5261 */
5362 boolean function isMigrationsModuleInstalled (){
54- return variables .moduleService .getModuleRegistry ().keyArray ().findNoCase ( " commandbox-migrations" ) > 0 ? true : false ;
63+ return variables .moduleService
64+ .getModuleRegistry ()
65+ .keyArray ()
66+ .findNoCase ( " commandbox-migrations" ) > 0 ? true : false ;
5567 }
5668
5769 /**
0 commit comments