diff --git a/packages/schematics/src/command-line/affected.ts b/packages/schematics/src/command-line/affected.ts index 9b0bfdf42adb4..ad67b4525f27b 100644 --- a/packages/schematics/src/command-line/affected.ts +++ b/packages/schematics/src/command-line/affected.ts @@ -31,9 +31,7 @@ export function affected(args: string[]): void { function printError(command: string, e: any) { console.error(`Pass the SHA range, as follows: npm run affected:${command} -- SHA1 SHA2.`); - console.error( - `Or pass the list of files, as follows: npm run affected:${command} --files="libs/mylib/index.ts,libs/mylib2/index.ts".` - ); + console.error(`Or pass the list of files, as follows: npm run affected:${command} -- --files="libs/mylib/index.ts,libs/mylib2/index.ts".`); console.error(e.message); } diff --git a/packages/schematics/src/command-line/format.ts b/packages/schematics/src/command-line/format.ts index 4b62dfb1ae1dd..fc6bdaef019cd 100644 --- a/packages/schematics/src/command-line/format.ts +++ b/packages/schematics/src/command-line/format.ts @@ -50,9 +50,7 @@ function getPatternsFromApps(affectedFiles: string[]): string[] { function printError(command: string, e: any) { console.error(`Pass the SHA range, as follows: npm run format:${command} -- SHA1 SHA2.`); - console.error( - `Or pass the list of files, as follows: npm run format:${command} --files="libs/mylib/index.ts,libs/mylib2/index.ts".` - ); + console.error(`Or pass the list of files, as follows: npm run format:${command} -- --files="libs/mylib/index.ts,libs/mylib2/index.ts".`); console.error(e.message); }