Skip to content

Commit

Permalink
style(scully): Change logging to increase clarity (#1605)
Browse files Browse the repository at this point in the history
  • Loading branch information
dolanmiu authored Sep 5, 2022
1 parent b7204e9 commit 75fe2be
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const plugin = async (forceScan = scanRoutes): Promise<string[]> => {
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()];
Expand Down

0 comments on commit 75fe2be

Please sign in to comment.