From d4907d368ae54050a1ffb394491b595d11d4c211 Mon Sep 17 00:00:00 2001 From: James Henry Date: Mon, 22 Jul 2024 16:50:24 +0400 Subject: [PATCH] fix(core): typo in nx update log (#27036) (cherry picked from commit 521c3f3891e8a6633aeb9ad1eaa6da7a4eaff6e9) --- e2e/nx/src/misc.test.ts | 2 +- packages/nx/bin/nx.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/e2e/nx/src/misc.test.ts b/e2e/nx/src/misc.test.ts index 07a7a6a69bee0..59f05a519f9bb 100644 --- a/e2e/nx/src/misc.test.ts +++ b/e2e/nx/src/misc.test.ts @@ -701,7 +701,7 @@ describe('global installation', () => { expect(() => { output = runCommand(`nx show projects`); }).not.toThrow(); - expect(output).toContain('Its time to update Nx'); + expect(output).toContain(`It's time to update Nx`); updateFile('node_modules/nx/package.json', packageJsonContents); }); diff --git a/packages/nx/bin/nx.ts b/packages/nx/bin/nx.ts index cecd6acd499c3..f141f6d17608f 100644 --- a/packages/nx/bin/nx.ts +++ b/packages/nx/bin/nx.ts @@ -219,7 +219,7 @@ function warnIfUsingOutdatedGlobalInstall( 'For more information, see https://nx.dev/more-concepts/global-nx' ); output.warn({ - title: `Its time to update Nx 🎉`, + title: `It's time to update Nx 🎉`, bodyLines, }); }