Skip to content

Fix bug in get_pr_sha() (#11)#11

Merged
stufield merged 1 commit intomainfrom
bugfix-get-pr-sha
Mar 10, 2023
Merged

Fix bug in get_pr_sha() (#11)#11
stufield merged 1 commit intomainfrom
bugfix-get-pr-sha

Conversation

@stufield
Copy link
Owner

@stufield stufield commented Mar 10, 2023

Overview of Pull Request

Fixes #10


Change type

Please check the relevant box(es):

  • Bug fix (non-breaking change which fixes an issue)

- index the `stdout` properly in the `ifelse`
  so that the function returns `NULL`
  rather than `""` if there is no SHA to find
- fixes #10
@stufield stufield force-pushed the bugfix-get-pr-sha branch from 1757b83 to ce27db7 Compare March 10, 2023 01:33
@stufield stufield changed the title Fix bug in get_pr_sha() (#10) Fix bug in get_pr_sha() (#11) Mar 10, 2023
@stufield stufield merged commit a827b6b into main Mar 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bugfix get_pr_sha() should return NULL if there is nothing to return

1 participant