Skip to content

Commit

Permalink
Apply cfformat changes
Browse files Browse the repository at this point in the history
  • Loading branch information
bdw429s authored and github-actions[bot] committed Jan 8, 2025
1 parent 69b7860 commit 237fb0e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion system/BaseSpec.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -987,7 +987,7 @@ component {
// init consolidated spec labels
var consolidatedLabels = arguments.spec.labels;
var md = getMetadata( this );
var mdLabels = md.labels ?: '';
var mdLabels = md.labels ?: "";
consolidatedLabels.append( listToArray( mdLabels, true ) );
// Build labels from nested suites, so suites inherit from parent suite labels
var parentSuite = arguments.suite;
Expand Down
2 changes: 1 addition & 1 deletion system/TestBox.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ component accessors="true" {
// iterate and run the test bundles
for ( var thisBundlePath in variables.bundles ) {
// Skip interfaces, they are not testable
if( server.keyExists('boxlang')) {
if ( server.keyExists( "boxlang" ) ) {
var thisMD = getClassMetadata( thisBundlePath );
} else {
var thisMD = getComponentMetadata( thisBundlePath );
Expand Down
6 changes: 3 additions & 3 deletions system/util/Util.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -205,9 +205,9 @@ component {
// Lazy load the helper
if ( isNull( variables.engineMappingHelper ) ) {
// Detect server
var engine = server.coldfusion.productname ?: '';
if( engine == '' && server.keyExists( "boxlang" ) ){
engine = 'lucee';
var engine = server.coldfusion.productname ?: "";
if ( engine == "" && server.keyExists( "boxlang" ) ) {
engine = "lucee";
}
if ( listFindNoCase( "Lucee", engine ) ) {
variables.engineMappingHelper = new LuceeMappingHelper();
Expand Down

0 comments on commit 237fb0e

Please sign in to comment.