remove pesky newline
This commit is contained in:
parent
2aecfc9d91
commit
7a5eae6bee
|
@ -16,6 +16,12 @@ def query_repo
|
||||||
milestones.each do |milestone|
|
milestones.each do |milestone|
|
||||||
puts "Milestone: #{milestone.title}"
|
puts "Milestone: #{milestone.title}"
|
||||||
puts "Link: #{milestone.html_url}"
|
puts "Link: #{milestone.html_url}"
|
||||||
|
if milestone.due_on
|
||||||
|
due_date = milestone.due_on.strftime('%Y-%m-%d')
|
||||||
|
puts "Due by: #{due_date}"
|
||||||
|
else
|
||||||
|
puts "No due date set."
|
||||||
|
end
|
||||||
puts "----------------------------"
|
puts "----------------------------"
|
||||||
|
|
||||||
issues = client.list_issues(repo, milestone: milestone.number)
|
issues = client.list_issues(repo, milestone: milestone.number)
|
||||||
|
@ -32,7 +38,6 @@ def query_repo
|
||||||
end
|
end
|
||||||
puts "----------------------------"
|
puts "----------------------------"
|
||||||
end
|
end
|
||||||
puts "\n"
|
|
||||||
end
|
end
|
||||||
|
|
||||||
rescue Octokit::InvalidRepository => e
|
rescue Octokit::InvalidRepository => e
|
||||||
|
|
Loading…
Reference in New Issue