Skip to content

Commit 92f8c5b

Browse files
committed
Simplify condition
1 parent 0441cc2 commit 92f8c5b

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

packages/common/src/client/sync/stream/AbstractStreamingSyncImplementation.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -623,10 +623,8 @@ The next upload iteration will be delayed.`);
623623
}
624624

625625
private async legacyStreamingSyncIteration(signal: AbortSignal, resolvedOptions: RequiredPowerSyncConnectionOptions) {
626-
if (resolvedOptions.serializedSchema) {
627-
if (resolvedOptions.serializedSchema.raw_tables != null) {
628-
this.logger.warn('Raw tables require the Rust-based sync client. The JS client will ignore them.');
629-
}
626+
if (resolvedOptions.serializedSchema?.raw_tables != null) {
627+
this.logger.warn('Raw tables require the Rust-based sync client. The JS client will ignore them.');
630628
}
631629

632630
this.logger.debug('Streaming sync iteration started');

0 commit comments

Comments
 (0)