From 1c56d0139a8237bbb95bcc8a6bf1bc3ce8a21115 Mon Sep 17 00:00:00 2001 From: Anna Henningsen Date: Thu, 21 Sep 2023 13:05:28 +0200 Subject: [PATCH] chore(cli-repl): update platform support matrix link MONGOSH-1565 --- packages/cli-repl/src/cli-repl.spec.ts | 8 ++++---- packages/cli-repl/src/cli-repl.ts | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/cli-repl/src/cli-repl.spec.ts b/packages/cli-repl/src/cli-repl.spec.ts index 528863805..623739832 100644 --- a/packages/cli-repl/src/cli-repl.spec.ts +++ b/packages/cli-repl/src/cli-repl.spec.ts @@ -2294,7 +2294,7 @@ describe('CliRepl', function () { 'Using mongosh on the current operating system is deprecated, and support may be removed in a future release.' ); expect(output).to.include( - 'See https://www.mongodb.com/docs/mongodb-shell/ for documentation on supported platforms.' + 'See https://www.mongodb.com/docs/mongodb-shell/install/#supported-operating-systems for documentation on supported platforms.' ); } else { expect(output).to.not.include( @@ -2343,7 +2343,7 @@ describe('CliRepl', function () { 'Using mongosh with OpenSSL versions lower than 3.0.0 is deprecated, and support may be removed in a future release.' ); expect(output).to.include( - 'See https://www.mongodb.com/docs/mongodb-shell/ for documentation on supported platforms.' + 'See https://www.mongodb.com/docs/mongodb-shell/install/#supported-operating-systems for documentation on supported platforms.' ); } else { expect(output).to.not.include( @@ -2372,7 +2372,7 @@ describe('CliRepl', function () { 'Using mongosh with Node.js versions lower than 20.0.0 is deprecated, and support may be removed in a future release.' ); expect(output).to.include( - 'See https://www.mongodb.com/docs/mongodb-shell/ for documentation on supported platforms.' + 'See https://www.mongodb.com/docs/mongodb-shell/install/#supported-operating-systems for documentation on supported platforms.' ); } else { expect(output).to.not.include( @@ -2410,7 +2410,7 @@ describe('CliRepl', function () { 'Using mongosh with OpenSSL versions lower than 3.0.0 is deprecated, and support may be removed in a future release.' ); expect(output).not.to.include( - 'See https://www.mongodb.com/docs/mongodb-shell/ for documentation on supported platforms.' + 'See https://www.mongodb.com/docs/mongodb-shell/install/#supported-operating-systems for documentation on supported platforms.' ); }); }); diff --git a/packages/cli-repl/src/cli-repl.ts b/packages/cli-repl/src/cli-repl.ts index cc4357cf0..e39f01c8d 100644 --- a/packages/cli-repl/src/cli-repl.ts +++ b/packages/cli-repl/src/cli-repl.ts @@ -871,7 +871,7 @@ export class CliRepl implements MongoshIOProvider { const deprecationWarning = [ 'Deprecation warnings:', ...warnings, - 'See https://www.mongodb.com/docs/mongodb-shell/ for documentation on supported platforms.', + 'See https://www.mongodb.com/docs/mongodb-shell/install/#supported-operating-systems for documentation on supported platforms.', ].join('\n'); this.output.write(