Skip to content

Commit

Permalink
Fix for Adobe Elvis Implementation on Metadata object
Browse files Browse the repository at this point in the history
For some reason, on all Adobe engines, the use of the elvis on the metadata object throws `mdLabels` is undefined on 991
  • Loading branch information
jclausen authored Feb 25, 2025
1 parent 977c8f1 commit a3c9370
Showing 1 changed file with 1 addition and 1 deletion.
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 = structKeyExists( md, "labels" ) ? 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

0 comments on commit a3c9370

Please sign in to comment.