@@ -729,7 +729,7 @@ export abstract class HostingIntegration<
729729 @debug ( )
730730 async getAccountForCommit (
731731 repo : T ,
732- ref : string ,
732+ rev : string ,
733733 options ?: {
734734 avatarSize ?: number ;
735735 } ,
@@ -740,7 +740,7 @@ export abstract class HostingIntegration<
740740 if ( ! connected ) return undefined ;
741741
742742 try {
743- const author = await this . getProviderAccountForCommit ( this . _session ! , repo , ref , options ) ;
743+ const author = await this . getProviderAccountForCommit ( this . _session ! , repo , rev , options ) ;
744744 this . resetRequestExceptionCount ( ) ;
745745 return author ;
746746 } catch ( ex ) {
@@ -751,7 +751,7 @@ export abstract class HostingIntegration<
751751 protected abstract getProviderAccountForCommit (
752752 session : ProviderAuthenticationSession ,
753753 repo : T ,
754- ref : string ,
754+ rev : string ,
755755 options ?: {
756756 avatarSize ?: number ;
757757 } ,
@@ -911,7 +911,7 @@ export abstract class HostingIntegration<
911911 @debug ( )
912912 async getPullRequestForCommit (
913913 repo : T ,
914- ref : string ,
914+ rev : string ,
915915 options ?: { expiryOverride ?: boolean | number } ,
916916 ) : Promise < PullRequest | undefined > {
917917 const scope = getLogScope ( ) ;
@@ -920,13 +920,13 @@ export abstract class HostingIntegration<
920920 if ( ! connected ) return undefined ;
921921
922922 const pr = this . container . cache . getPullRequestForSha (
923- ref ,
923+ rev ,
924924 repo ,
925925 this ,
926926 ( ) => ( {
927927 value : ( async ( ) => {
928928 try {
929- const result = await this . getProviderPullRequestForCommit ( this . _session ! , repo , ref ) ;
929+ const result = await this . getProviderPullRequestForCommit ( this . _session ! , repo , rev ) ;
930930 this . resetRequestExceptionCount ( ) ;
931931 return result ;
932932 } catch ( ex ) {
@@ -942,7 +942,7 @@ export abstract class HostingIntegration<
942942 protected abstract getProviderPullRequestForCommit (
943943 session : ProviderAuthenticationSession ,
944944 repo : T ,
945- ref : string ,
945+ rev : string ,
946946 ) : Promise < PullRequest | undefined > ;
947947
948948 async getMyIssuesForRepos (
0 commit comments