diff --git a/__tests__/bin.test.js b/__tests__/bin.test.js index 52f1f3703..6d48c8df9 100644 --- a/__tests__/bin.test.js +++ b/__tests__/bin.test.js @@ -21,7 +21,7 @@ describe('bin', () => { await new Promise(done => { exec(`node ${__dirname}/../bin/rdme`, (error, stdout, stderr) => { expect(stderr).toContain( - `We're sorry, this release of rdme does not support Node.js v${process.version}. We support the following versions: ${pkg.engines.node}` + `We're sorry, this release of rdme does not support Node.js ${process.version}. We support the following versions: ${pkg.engines.node}` ); done(); }); diff --git a/bin/rdme b/bin/rdme index 7e12550c7..1322fb4a8 100755 --- a/bin/rdme +++ b/bin/rdme @@ -17,7 +17,7 @@ updateNotifier({ pkg }).notify(); * stop if we're being run with any Node version that we don't explicitly support. */ if (!isSupportedNodeVersion(process.version)) { - const message = `We're sorry, this release of rdme does not support Node.js v${process.version}. We support the following versions: ${pkg.engines.node}`; + const message = `We're sorry, this release of rdme does not support Node.js ${process.version}. We support the following versions: ${pkg.engines.node}`; console.error(chalk.red(`\n${message}\n`)); process.exit(1); }