From 356ef34c5ae9f44ba36d0eaf545f1af0a9f84109 Mon Sep 17 00:00:00 2001 From: Gavin Patton Date: Wed, 15 Nov 2023 09:39:09 +0000 Subject: [PATCH] reverting plugin path as external plugins will load from lib/puppet-lint/plugins rather than lib/puppetlabs-lint/plugins - sacraficing consistency in naming here for minimal impact on users --- lib/puppetlabs/puppetlabs-lint/plugins.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/puppetlabs/puppetlabs-lint/plugins.rb b/lib/puppetlabs/puppetlabs-lint/plugins.rb index 324e9f85..f8de0937 100644 --- a/lib/puppetlabs/puppetlabs-lint/plugins.rb +++ b/lib/puppetlabs/puppetlabs-lint/plugins.rb @@ -11,7 +11,7 @@ class PuppetLint::Plugins # Returns nothing. def self.load_from_gems gem_directories.each do |directory| - path = directory + 'puppetlabs-lint/plugins' + path = directory + 'puppet-lint/plugins' next unless path.directory? Dir["#{path}/**/*.rb"].each do |file|