Skip to content

Commit 56ebf61

Browse files
committed
Fix unecessary non-null assertion
1 parent c9b757a commit 56ebf61

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/test-simulators.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,8 @@ jobs:
141141
- name: Set up XCode
142142
uses: maxim-lobanov/setup-xcode@v1
143143
with:
144-
xcode-version: latest-stable
144+
# TODO: Update to latest-stable once GitHub has simulators compatible with XCode 26
145+
xcode-version: '^16.4.0'
145146

146147
- name: CocoaPods Cache
147148
uses: actions/cache@v3

packages/common/src/client/sync/stream/core-instruction.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ function priorityToJs(status: SyncPriorityStatus): sync_status.SyncPriorityStatu
7474
return {
7575
priority: status.priority,
7676
hasSynced: status.has_synced ?? undefined,
77-
lastSyncedAt: status?.last_synced_at != null ? new Date(status!.last_synced_at! * 1000) : undefined
77+
lastSyncedAt: status?.last_synced_at != null ? new Date(status.last_synced_at * 1000) : undefined
7878
};
7979
}
8080

0 commit comments

Comments
 (0)