From 37d5d0827168d1f2e04f84e26e67aeefd5a95700 Mon Sep 17 00:00:00 2001 From: Ian Kronquist Date: Wed, 15 Jul 2015 16:35:26 -0700 Subject: [PATCH] (PDOC-19) Fix merge mistakes * An empty file got added back in the chaos. Delete it again. * One of the comments was out of date. --- .../puppetlabs/strings/yard/handlers/host_class_handler.rb | 2 +- spec/fixtures/manifests/site.pp | 0 2 files changed, 1 insertion(+), 1 deletion(-) delete mode 100644 spec/fixtures/manifests/site.pp 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