Skip to content

Commit c0b8c80

Browse files
committed
wip!
1 parent ec386cf commit c0b8c80

File tree

1 file changed

+7
-0
lines changed
  • packages/angular/cli/src/command-builder/utilities

1 file changed

+7
-0
lines changed

packages/angular/cli/src/command-builder/utilities/prettier.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,13 @@ export async function formatFiles(cwd: string, files: Set<string>): Promise<void
7373

7474
console.log({ filesToFormat, cwd });
7575

76+
console.log(
77+
await execFileAsync(prettierCliPath, ['--check', ...filesToFormat], {
78+
cwd,
79+
shell: platform() === 'win32',
80+
}),
81+
);
82+
7683
const x = await execFileAsync(prettierCliPath, ['--write', ...filesToFormat], {
7784
cwd,
7885
shell: platform() === 'win32',

0 commit comments

Comments
 (0)