From 3fdf0c64df3f31ad0c57db0b7fcae74e00082c3a Mon Sep 17 00:00:00 2001 From: Steve Gilvarry Date: Thu, 12 Nov 2015 07:55:54 +1100 Subject: [PATCH] Add options to def self.user_and_project_from_git to fix parser.rb:193 wrong number of arguments (1 for 0) --- lib/github_changelog_generator/parser.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/github_changelog_generator/parser.rb b/lib/github_changelog_generator/parser.rb index 0daa537..46ffdef 100644 --- a/lib/github_changelog_generator/parser.rb +++ b/lib/github_changelog_generator/parser.rb @@ -190,7 +190,7 @@ module GitHubChangelogGenerator } end - def self.user_and_project_from_git + def self.user_and_project_from_git(options) if options[:user].nil? || options[:project].nil? detect_user_and_project(options, ARGV[0], ARGV[1]) end