Fix #246
This commit is contained in:
parent
19eb03c54e
commit
f7e9199841
|
@ -13,7 +13,9 @@ module GitHubChangelogGenerator
|
|||
|
||||
parser.parse!
|
||||
|
||||
detect_user_and_project(options)
|
||||
if options[:user].nil? || options[:project].nil?
|
||||
detect_user_and_project(options)
|
||||
end
|
||||
|
||||
if !options[:user] || !options[:project]
|
||||
puts parser.banner
|
||||
|
|
Loading…
Reference in New Issue
Block a user