Skip to content

Commit

Permalink
Fix pr setting to 'null' when number is null (#116)
Browse files Browse the repository at this point in the history
  • Loading branch information
rbro112 authored Jan 22, 2024
1 parent 8174b9c commit 6fe1888
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ abstract class GitHubPrNumberValueSource : ValueSource<String?, None> {

override fun obtain(): String? {
val gitHub = GitHub(execOperations)
return gitHub.prNumber().toString()
return gitHub.prNumber()?.toString()
}
}

0 comments on commit 6fe1888

Please sign in to comment.