    # File lib/chef/knife/cookbook_upload.rb, line 135
          def warn_about_cookbook_shadowing
            unless cookbook_repo.merged_cookbooks.empty?
              ui.warn "* " * 40
              ui.warn("The cookbooks: \#{cookbook_repo.merged_cookbooks.join(', ')} exist in multiple places in your cookbook_path.\nA composite version of these cookbooks has been compiled for uploading.\n\n\#{ui.color('IMPORTANT:', :red, :bold)} In a future version of Chef, this behavior will be removed and you will no longer\nbe able to have the same version of a cookbook in multiple places in your cookbook_path.\n")
              ui.warn "The affected cookbooks are located:"
              ui.output ui.format_for_display(cookbook_repo.merged_cookbook_paths)
              ui.warn "* " * 40
            end
          end