From 75fe2be9c1e2694dad9a24af4922b4a550a699af Mon Sep 17 00:00:00 2001 From: Dolan Date: Mon, 5 Sep 2022 06:22:06 +0100 Subject: [PATCH] style(scully): Change logging to increase clarity (#1605) --- libs/scully/src/lib/routerPlugins/traverseAppRoutesPlugin.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/scully/src/lib/routerPlugins/traverseAppRoutesPlugin.ts b/libs/scully/src/lib/routerPlugins/traverseAppRoutesPlugin.ts index 05ab36aa3..b33cdfad8 100644 --- a/libs/scully/src/lib/routerPlugins/traverseAppRoutesPlugin.ts +++ b/libs/scully/src/lib/routerPlugins/traverseAppRoutesPlugin.ts @@ -30,7 +30,7 @@ const plugin = async (forceScan = scanRoutes): Promise => { const result = JSON.parse(readFileSync(routesPath).toString()) as string[]; logWarn(`----------------------------------`) logWarn(`Using stored unhandled routes!.`) - logWarn(` To discover new routes in the angular app use "${yellow('npm run scully -- --scanRoutes')}"`) + logWarn(` To discover new routes in the angular app use "${yellow('npx scully --scanRoutes')}"`) logWarn(`----------------------------------`); /** return de-duplicated set of routes */ return [...new Set([...result, ...extraRoutes]).values()];