From bab7eb19869be520359ee3269e90b6be5c091e90 Mon Sep 17 00:00:00 2001 From: Christoph Hartmann Date: Fri, 5 Feb 2016 12:40:47 +0100 Subject: [PATCH] improve styling --- bin/inspec | 4 ++-- lib/inspec/plugins.rb | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/inspec b/bin/inspec index eddf9d729..93d3270d1 100755 --- a/bin/inspec +++ b/bin/inspec @@ -253,13 +253,13 @@ class Inspec::InspecCLI < Thor # rubocop:disable Metrics/ClassLength end # load CLI plugins before the Inspec CLI has been started -Inspec::Plugins::CLI.registry.each{ |subcommand, params| +Inspec::Plugins::CLI.registry.each { |_subcommand, params| Inspec::InspecCLI.register( params[:klass], params[:subcommand_name], params[:usage], params[:description], - params[:options] + params[:options], ) } diff --git a/lib/inspec/plugins.rb b/lib/inspec/plugins.rb index de15c9952..1bf091ab6 100644 --- a/lib/inspec/plugins.rb +++ b/lib/inspec/plugins.rb @@ -3,7 +3,7 @@ # author: Christoph Hartmann require 'forwardable' -puts 'plugins' + module Inspec # Resource Plugins module Plugins