cyberark / bash-lib

Library for bash utility methods and tools
Apache License 2.0
657 stars 24 forks source link

Return single issue number #43

Closed hughsaunders closed 3 years ago

hughsaunders commented 3 years ago

Previously bl_hub_issue_number_for_title returned all the issue numbers matching a title. That caused bl_hub_comment_or_create_issue to fail when trying to add a comment when multiple issues matched the title.

What does this PR do?

This PR ensures that bl_issue_number_for_title only returns a single issue number.

What ticket does this PR close?

Connected to cyberark/bash-lib#42

Checklists

Change log

Test coverage

Documentation