lib/berkshelf/cli.rb in berkshelf-7.0.10 vs lib/berkshelf/cli.rb in berkshelf-7.1.0

- old
+ new

@@ -417,14 +417,14 @@ Berkshelf.formatter.version end private - # Print a list of the given cookbooks. This is used by various - # methods like {list} and {contingent}. - # - # @param [Array<CachedCookbook>] cookbooks - # + # Print a list of the given cookbooks. This is used by various + # methods like {list} and {contingent}. + # + # @param [Array<CachedCookbook>] cookbooks + # def print_list(cookbooks) Array(cookbooks).sort.each do |cookbook| Berkshelf.formatter.msg " * #{cookbook.cookbook_name} (#{cookbook.version})" end end