Skip to content

Commit

Permalink
Code review fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pmachapman authored and Nateowami committed Dec 20, 2024
1 parent 1c7d572 commit ac18b3e
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions src/SIL.XForge.Scripture/Services/ParatextService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -347,17 +347,9 @@ SyncMetrics syncMetrics
if (
!noErrors
|| !success
|| (
results != null
&& results.Any(r =>
r
is {
Result: SendReceiveResultEnum.Failed
or SendReceiveResultEnum.NotUpgraded
or SendReceiveResultEnum.ProjectVersionUpgraded,
}
)
)
|| results is null
|| results.Any(r => r == null)
|| results.Any(r => r.Result != SendReceiveResultEnum.Succeeded)
)
{
string resultsInfo = ExplainSRResults(results);
Expand Down

0 comments on commit ac18b3e

Please sign in to comment.