lib/blocks/block.rb in bake-toolkit-2.11.3 vs lib/blocks/block.rb in bake-toolkit-2.11.4

- old
+ new

@@ -14,11 +14,11 @@ ALL_COMPILE_BLOCKS = {} class Block attr_reader :lib_elements, :projectDir, :library, :config, :projectName - attr_accessor :visited, :inDeps, :result + attr_accessor :visited, :inDeps, :result, :circularCheck def startupSteps @startupSteps ||= [] end @@ -54,9 +54,10 @@ @library = library end def initialize(config, referencedConfigs) @inDeps = false + @circularCheck @visited = false @library = nil @config = config @referencedConfigs = referencedConfigs @projectName = config.parent.name \ No newline at end of file