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(