lib/nanoc/cli/commands/show-rules.rb in nanoc-4.3.6 vs lib/nanoc/cli/commands/show-rules.rb in nanoc-4.3.7

- old
+ new

@@ -9,10 +9,13 @@ class ShowRules < ::Nanoc::CLI::CommandRunner def run load_site @c = Nanoc::CLI::ANSIStringColorizer - @reps = site.compiler.reps + + compiler = site.compiler + compiler.build_reps + @reps = compiler.reps action_provider = site.compiler.action_provider unless action_provider.respond_to?(:rules_collection) raise( ::Nanoc::Int::Errors::GenericTrivial,