Add options to def self.user_and_project_from_git to fix parser.rb:193 wrong number of arguments (1 for 0)
This commit is contained in:
parent
645f96ace6
commit
3fdf0c64df
|
@ -190,7 +190,7 @@ module GitHubChangelogGenerator
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
def self.user_and_project_from_git
|
def self.user_and_project_from_git(options)
|
||||||
if options[:user].nil? || options[:project].nil?
|
if options[:user].nil? || options[:project].nil?
|
||||||
detect_user_and_project(options, ARGV[0], ARGV[1])
|
detect_user_and_project(options, ARGV[0], ARGV[1])
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue
Block a user