lib/nanoc/cli/commands/show-plugins.rb in nanoc-4.8.3 vs lib/nanoc/cli/commands/show-plugins.rb in nanoc-4.8.4

- old
+ new

@@ -16,9 +16,10 @@ raise Nanoc::Int::Errors::GenericTrivial, "usage: #{command.usage}" end # Get list of plugins (before and after) plugins_before = PLUGIN_CLASSES.keys.each_with_object({}) { |c, acc| acc[c] = c.all } + site = load_site site&.code_snippets plugins_after = PLUGIN_CLASSES.keys.each_with_object({}) { |c, acc| acc[c] = c.all } # Divide list of plugins into builtin and custom plugins_builtin = plugins_before