From 3d3e08defd62e8cd949e627c1cbf7391da2361c6 Mon Sep 17 00:00:00 2001 From: Anna Henningsen Date: Tue, 6 Jul 2021 17:53:04 +0200 Subject: [PATCH] =?UTF-8?q?feat(cli-repl):=20remove=20=E2=80=9Cbeta?= =?UTF-8?q?=E2=80=9D=20from=20startup=20message?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/cli-repl/src/mongosh-repl.spec.ts | 2 +- packages/cli-repl/src/mongosh-repl.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/cli-repl/src/mongosh-repl.spec.ts b/packages/cli-repl/src/mongosh-repl.spec.ts index 6ce4f22dd4..4fc001ee0f 100644 --- a/packages/cli-repl/src/mongosh-repl.spec.ts +++ b/packages/cli-repl/src/mongosh-repl.spec.ts @@ -97,7 +97,7 @@ describe('MongoshNodeRepl', () => { it('shows a nice message to say hello', () => { expect(output).to.match(/Using MongoDB:\s+4.4.1/); - expect(output).to.match(/Using Mongosh Beta:/); + expect(output).to.match(/Using Mongosh:/); expect(output).to.match(/You can opt-out by running the .*disableTelemetry\(\).* command/); expect(config.disableGreetingMessage).to.equal(true); }); diff --git a/packages/cli-repl/src/mongosh-repl.ts b/packages/cli-repl/src/mongosh-repl.ts index 2ac7629e7a..bff35e434e 100644 --- a/packages/cli-repl/src/mongosh-repl.ts +++ b/packages/cli-repl/src/mongosh-repl.ts @@ -352,7 +352,7 @@ class MongoshNodeRepl implements EvaluationListener { if (!this.shellCliOptions.nodb) { text += `Using MongoDB:\t\t${mongodVersion}\n`; } - text += `${this.clr('Using Mongosh Beta', ['bold', 'yellow'])}:\t${version}\n`; + text += `${this.clr('Using Mongosh', ['bold', 'yellow'])}:\t\t${version}\n`; text += `${MONGOSH_WIKI}\n`; if (!await this.getConfig('disableGreetingMessage')) { text += `${TELEMETRY_GREETING_MESSAGE}\n`;