Skip to content

Commit

Permalink
thisLocationToken is not var scoped
Browse files Browse the repository at this point in the history
thisLocationToken variable is not var scoped
  • Loading branch information
aliaspooryorik authored Jan 15, 2025
1 parent 8ca9e54 commit 2ebcc00
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions system/ioc/dsl/ColdBoxDSL.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,13 @@ component accessors="true" {
* @targetObject The target object we are building the DSL dependency for. If empty, means we are just requesting building
*/
private function getColdBoxDSL( required definition, targetObject ){
var thisName = arguments.definition.name;
var thisType = arguments.definition.dsl;
var thisTypeLen = listLen( thisType, ":" );
var thisLocationType = "";
var thisLocationKey = "";
var moduleSettings = "";
var thisName = arguments.definition.name;
var thisType = arguments.definition.dsl;
var thisTypeLen = listLen( thisType, ":" );
var thisLocationType = "";
var thisLocationKey = "";
var thisLocationToken = "";
var moduleSettings = "";

// Support shortcut for specifying name in the definition instead of the DSl for supporting namespaces
if (
Expand Down

0 comments on commit 2ebcc00

Please sign in to comment.