Skip to content

Commit 3e827c6

Browse files
authored
fix(cli-repl): prevent failures in macOS certificate selector MONGOSH-762 (#875)
1 parent 7ed736a commit 3e827c6

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

packages/cli-repl/package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/cli-repl/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
"moment": "^2.29.1"
8383
},
8484
"optionalDependencies": {
85-
"macos-export-certificate-and-key": "^1.0.0",
85+
"macos-export-certificate-and-key": "^1.0.1",
8686
"win-export-certificate-and-key": "^1.0.2"
8787
}
8888
}

packages/cli-repl/src/arg-mapper.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ describe('arg-mapper.mapCliToDriver', () => {
263263

264264
describe('arg-mapper.applyTlsCertificateSelector', () => {
265265
context('with fake ca provider', () => {
266-
let exportCertificateAndPrivateKey;
266+
let exportCertificateAndPrivateKey: sinon.SinonStub;
267267
beforeEach(() => {
268268
process.env.TEST_OS_EXPORT_CERTIFICATE_AND_KEY_PATH =
269269
path.resolve(__dirname, '..', 'test', 'fixtures', 'fake-os-ca-provider.js');

0 commit comments

Comments
 (0)