From 662d05192809b71aee498b00b63cc1992f8cca75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leosvel=20P=C3=A9rez=20Espinosa?= Date: Thu, 7 Mar 2024 16:09:02 +0100 Subject: [PATCH] fix(angular): fix message logged for unsupported ng cache --- packages/nx/bin/init-local.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/nx/bin/init-local.ts b/packages/nx/bin/init-local.ts index faccd858d60bf..a43dbb410071f 100644 --- a/packages/nx/bin/init-local.ts +++ b/packages/nx/bin/init-local.ts @@ -148,8 +148,8 @@ function handleAngularCLIFallbacks(workspace: WorkspaceTypeAndRoot) { } } else if (process.argv[2] === 'cache') { console.log(`"ng cache" is not natively supported by Nx. -To clear the cache, you can delete the ".angular/cache" directory (or the directory configured by "cli.cache.path" in the "angular.json" file). -To update the cache configuration, you can directly update the configuration in your "angular.json" file (https://angular.io/guide/workspace-config#cache-options).`); +To clear the cache, you can delete the ".angular/cache" directory (or the directory configured by "cli.cache.path" in the "nx.json" file). +To update the cache configuration, you can directly update the relevant options in your "nx.json" file (https://angular.io/guide/workspace-config#cache-options).`); } else { try { // nx-ignore-next-line