Skip to content

Commit

Permalink
fix if budnles is empty
Browse files Browse the repository at this point in the history
  • Loading branch information
lmajano committed Sep 28, 2024
1 parent 0cf3707 commit 03f94a3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion commands/testbox/run.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,9 @@ component extends="testboxCLI.models.BaseCommand" {
boolean testboxUseLocal = true
){
// Remove /\ to . in bundles
arguments.bundles = arguments.bundles.replace( "/\", "." );
if( !isNull( arguments.bundles ) ){
arguments.bundles = arguments.bundles.replace( "/\", "." );
}

// Ensure TestBox For reporting and conversions
ensureTestBox( arguments.testboxUseLocal );
Expand Down

0 comments on commit 03f94a3

Please sign in to comment.