Merge pull request #303 from SteveGilvarry/Missing_options_param

Add options to def self.user_and_project_from_git to fix parser.rb:19…
This commit is contained in:
Olle Jonsson 2015-11-11 22:47:01 +01:00
commit 138abfe676

View File

@ -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