diff --git a/lib/puppet_x/puppetlabs/strings/yard/handlers/host_class_handler.rb b/lib/puppet_x/puppetlabs/strings/yard/handlers/host_class_handler.rb index 08bd6f9..8c972ed 100644 --- a/lib/puppet_x/puppetlabs/strings/yard/handlers/host_class_handler.rb +++ b/lib/puppet_x/puppetlabs/strings/yard/handlers/host_class_handler.rb @@ -18,7 +18,7 @@ class PuppetX::PuppetLabs::Strings::YARD::Handlers::HostClassHandler < PuppetX:: begin param_type_info[pop_param.name] = tp.interpret_any(pop_param.type_expr) rescue Puppet::ParseError - # If the type could not be interpreted, default to type Any + # If the type could not be interpreted insert a prominent warning param_type_info[pop_param.name] = "TypeError - " + "#{pop_param.type_expr} isn't a valid type." end diff --git a/spec/fixtures/manifests/site.pp b/spec/fixtures/manifests/site.pp deleted file mode 100644 index e69de29..0000000