Skip to content

Commit fb3e343

Browse files
committed
Fix "Null check operator used on a null value" error
1 parent 044739f commit fb3e343

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app_dart/lib/src/service/firestore/unified_check_run.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ final class UnifiedCheckRun {
4848
stage: stage,
4949
creationTime: pullRequest.createdAt!.microsecondsSinceEpoch,
5050
author: pullRequest.user!.login!,
51-
remainingBuilds: null,
52-
failedBuilds: null,
51+
remainingBuilds: tasks.length,
52+
failedBuilds: 0,
5353
builds: {for (final task in tasks) task: TaskStatus.waitingForBackfill},
5454
);
5555
final checks = [

0 commit comments

Comments
 (0)