lib/chef/knife/cookbook_github_compare.rb in knife-github-cookbooks-0.1.7 vs lib/chef/knife/cookbook_github_compare.rb in knife-github-cookbooks-0.1.8

- old
+ new

@@ -53,10 +53,10 @@ config[:cookbook_path] = Chef::Config[:cookbook_path] end @cookbook_name = parse_name_args! - @install_path = config[:cookbook_path].first + @install_path = File.expand_path(Array(config[:cookbook_path]).first) @repo = CookbookSCMRepoExtensions.new(@install_path, ui, config) match = @repo.last_log_message_from_cookbook(@cookbook_name).match("Import (.*) version (.*)") @github_path = match[1] \ No newline at end of file