Skip to content

Commit

Permalink
Apply cfformat changes
Browse files Browse the repository at this point in the history
  • Loading branch information
lmajano authored and github-actions[bot] committed Aug 17, 2023
1 parent 485844a commit e8f5803
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions commands/testbox/run.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ component {
private function ensureTestBox( boolean testboxUseLocal = true ){
// Where it should go in module
var testBoxPath = variables.moduleConfig.path & "/testbox";
var modulePath = variables.moduleConfig.path;
var modulePath = variables.moduleConfig.path;

// Check if installed locally
if ( arguments.testboxUseLocal ) {
Expand All @@ -433,17 +433,13 @@ component {
if ( !directoryExists( testBoxPath ) ) {
variables.print
.blackOnWheat1( " WARN " )
.line(
" Uh-oh, TestBox could not be found locally [#testBoxPath#] or in the CLI path."
)
.line( " Uh-oh, TestBox could not be found locally [#testBoxPath#] or in the CLI path." )
.green1onDodgerBlue2( " INFO " )
.line( " We will install a local version in the CLI path [#modulePath#] for you.")
.line( " We will install a local version in the CLI path [#modulePath#] for you." )
.line()
.toConsole();

command( "install" )
.params( "testbox", modulePath )
.run();
command( "install" ).params( "testbox", modulePath ).run();
}

// Add our mapping
Expand Down

0 comments on commit e8f5803

Please sign in to comment.