Skip to content

Commit 210f0e4

Browse files
lint
1 parent 1a340ad commit 210f0e4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/tools/runner/filters/client_encryption_filter.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import * as process from 'process';
44
import { satisfies } from 'semver';
55

66
import { kmsCredentialsPresent } from '../../../csfle-kms-providers';
7-
import { AutoEncrypter, MongoClient } from '../../../mongodb';
7+
import { type AutoEncrypter, MongoClient } from '../../../mongodb';
88
import { Filter } from './filter';
99

1010
function 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

0 commit comments

Comments
 (0)