Skip to content

Commit 7cc4899

Browse files
committed
Formatting.
1 parent b52f1b5 commit 7cc4899

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/PostSharp.Engineering.BuildTools/ContinuousIntegration/GitHubHelper.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ internal static bool TryGetToken(
2929
[NotNullWhen( true )] out string? token,
3030
string tokenEnvironmentVariableName = EnvironmentVariableNames.GitHubToken )
3131
=> TryGetToken( console, true, out token );
32-
32+
3333
internal static bool TryGetToken(
3434
ConsoleHelper console,
3535
bool writeError,
@@ -118,18 +118,18 @@ bool TryConnectRestApis( [NotNullWhen( true )] out GitHubClient? creatorClient,
118118
{
119119
return false;
120120
}
121-
121+
122122
creatorClient = ConnectRestApi( creatorToken );
123123

124124
if ( !TryGetToken( console, false, out var reviewerToken, EnvironmentVariableNames.GitHubReviewerToken ) )
125125
{
126-
console.WriteWarning( $"The {EnvironmentVariableNames.GitHubReviewerToken} environment variable is not defined. The PR won't be auto-approved." );
126+
console.WriteWarning(
127+
$"The {EnvironmentVariableNames.GitHubReviewerToken} environment variable is not defined. The PR won't be auto-approved." );
127128
}
128129
else
129130
{
130131
reviewerClient = creatorToken == reviewerToken ? creatorClient : ConnectRestApi( reviewerToken );
131132
}
132-
133133

134134
return true;
135135
}
@@ -144,7 +144,7 @@ bool TryConnectRestApis( [NotNullWhen( true )] out GitHubClient? creatorClient,
144144
return null;
145145
}
146146

147-
var allExistingPullRequests = await creatorGitHub.PullRequest.GetAllForRepository( repository.Owner, repository.Name );
147+
var allExistingPullRequests = await creatorGitHub.PullRequest.GetAllForRepository( repository.Owner, repository.Name );
148148
var pullRequest = allExistingPullRequests.FirstOrDefault( pr => pr.Head.Ref == sourceBranch );
149149

150150
if ( pullRequest != null )

0 commit comments

Comments
 (0)