lib/aws/cfn/compiler/mixins/load.rb in aws-cfn-compiler-0.9.9 vs lib/aws/cfn/compiler/mixins/load.rb in aws-cfn-compiler-0.9.12
- old
+ new
@@ -99,10 +99,10 @@
unless @config[:expandedpaths]
patn = short_path(path,3)
end
unless File.directory?(path)
- @logger.error " !! error: Cannot load bricks from #{patn} with brick path: \n\t#{@config[:brick_path_list].join("\n\t")} \n(started with #{File.join(base, dir)}')"
+ @logger.error " !! error: Cannot load #{dir}/#{rsrc} with brick path: \n\t#{@config[:brick_path_list].join("\n\t")} \n(started with #{File.join(base, dir)}')"
abort!
end
path
end