Skip to content

Commit

Permalink
chore(cli-repl): update platform support matrix link MONGOSH-1565
Browse files Browse the repository at this point in the history
  • Loading branch information
addaleax committed Sep 21, 2023
1 parent e099bc0 commit 1c56d01
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions packages/cli-repl/src/cli-repl.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down Expand Up @@ -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(
Expand Down Expand Up @@ -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(
Expand Down Expand Up @@ -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.'
);
});
});
Expand Down
2 changes: 1 addition & 1 deletion packages/cli-repl/src/cli-repl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 1c56d01

Please sign in to comment.