diff options
Diffstat (limited to 'lib/chef/knife/recipe_list.rb')
-rw-r--r-- | lib/chef/knife/recipe_list.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/knife/recipe_list.rb b/lib/chef/knife/recipe_list.rb index 46ad619f1d..756069aebe 100644 --- a/lib/chef/knife/recipe_list.rb +++ b/lib/chef/knife/recipe_list.rb @@ -16,13 +16,13 @@ # limitations under the License. # -require 'chef/knife' +require "chef/knife" class Chef::Knife::RecipeList < Chef::Knife banner "knife recipe list [PATTERN]" def run - recipes = rest.get('cookbooks/_recipes') + recipes = rest.get("cookbooks/_recipes") if pattern = @name_args.first recipes = recipes.grep(Regexp.new(pattern)) end |