style(dev-infra): correct tslint failures in dev-infra directory (#37233)
Fixes tslint failures in dev-infra directory as the directory is now part of the tslint enforced files. PR Close #37233
This commit is contained in:
@ -28,7 +28,7 @@ const graphql = unauthenticatedGraphql.defaults({
|
||||
|
||||
/** Get a PR from github */
|
||||
export async function getPr<PrSchema>(
|
||||
prSchema: PrSchema, number: number, {owner, name}: GithubConfig) {
|
||||
prSchema: PrSchema, prNumber: number, {owner, name}: GithubConfig) {
|
||||
const PR_QUERY = params(
|
||||
{
|
||||
$number: 'Int!', // The PR number
|
||||
@ -41,7 +41,8 @@ export async function getPr<PrSchema>(
|
||||
})
|
||||
});
|
||||
|
||||
const result = await graphql(graphqlQuery(PR_QUERY), {number, owner, name}) as typeof PR_QUERY;
|
||||
const result =
|
||||
await graphql(graphqlQuery(PR_QUERY), {number: prNumber, owner, name}) as typeof PR_QUERY;
|
||||
return result.repository.pullRequest;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user