lib/command/apply_template.rb in cpflow-3.0.1 vs lib/command/apply_template.rb in cpflow-4.0.0
- old
+ new
@@ -41,10 +41,10 @@
```
EX
VALIDATIONS = %w[config templates].freeze
def call # rubocop:disable Metrics/MethodLength
- @template_parser = TemplateParser.new(config)
+ @template_parser = TemplateParser.new(self)
@names_to_filenames = config.args.to_h do |name|
[name, @template_parser.template_filename(name)]
end
ensure_templates!