File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -43,9 +43,9 @@ export function checkHttpUrl(url: string) {
43
43
}
44
44
45
45
export function checkRedundantConfig ( conf : libsqlConfig ) {
46
- if ( conf . encryptionKey ) conserror ( "'encryptionKey' config unsupported." ) ;
47
- if ( conf . syncUrl ) conserror ( "'syncUrl' config unsupported because 'url' is the remote url. (embedded replicas unsupported)" ) ;
48
- if ( conf . syncInterval ) conserror ( "'syncInterval' config unsupported because nothing to sync. (embedded replicas unsupported)" ) ;
49
- if ( conf . tls ) conserror ( "'tls' config unsupported. Change url scheme to 'http' for no tls and 'https' for tls." ) ;
50
- if ( conf . concurrency ) conserror ( "'concurrency' config unsupported. You may use a custom fetch to specify concurrency." ) ;
46
+ if ( conf . encryptionKey !== undefined ) conserror ( "'encryptionKey' config unsupported." ) ;
47
+ if ( conf . syncUrl !== undefined ) conserror ( "'syncUrl' config unsupported because 'url' is the remote url. (embedded replicas unsupported)" ) ;
48
+ if ( conf . syncInterval !== undefined ) conserror ( "'syncInterval' config unsupported because nothing to sync. (embedded replicas unsupported)" ) ;
49
+ if ( conf . tls !== undefined ) conserror ( "'tls' config unsupported. Change url scheme to 'http' for no tls and 'https' for tls." ) ;
50
+ if ( conf . concurrency !== undefined ) conserror ( "'concurrency' config unsupported. You may use a custom fetch to specify concurrency." ) ;
51
51
}
You can’t perform that action at this time.
0 commit comments