File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
test/tools/runner/filters Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import * as process from 'process';
44import { satisfies } from 'semver' ;
55
66import { kmsCredentialsPresent } from '../../../csfle-kms-providers' ;
7- import { AutoEncrypter , MongoClient } from '../../../mongodb' ;
7+ import { type AutoEncrypter , MongoClient } from '../../../mongodb' ;
88import { Filter } from './filter' ;
99
1010function getCryptSharedVersion ( ) : AutoEncrypter [ 'cryptSharedLibVersionInfo' ] | null {
@@ -22,7 +22,7 @@ function getCryptSharedVersion(): AutoEncrypter['cryptSharedLibVersionInfo'] | n
2222 }
2323 } ) ;
2424 return mc . autoEncrypter . cryptSharedLibVersionInfo ;
25- } catch ( error ) {
25+ } catch {
2626 try {
2727 const mc = new MongoClient ( 'mongodb://localhost:27017' , {
2828 autoEncryption : {
@@ -35,6 +35,7 @@ function getCryptSharedVersion(): AutoEncrypter['cryptSharedLibVersionInfo'] | n
3535 } ) ;
3636 return mc . autoEncrypter . cryptSharedLibVersionInfo ;
3737 } catch {
38+ // squash errors
3839 }
3940 }
4041
You can’t perform that action at this time.
0 commit comments