Skip to content

Commit

Permalink
fix(nx): quality executor should run prettier from root cwd to correc…
Browse files Browse the repository at this point in the history
…tly resolve configs and ignores
  • Loading branch information
SimeonC committed Jul 28, 2023
1 parent 6a61092 commit 0cfaf66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/nx/src/executors/quality/executor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ export default async function runExecutor(
'--no-error-on-unmatched-pattern',
'--ignore-unknown',
'--cache',
].join(' ')} --log-level warn .`,
].join(' ')} --log-level warn ${root}`,
{
cwd: root,
cwd: context.root,
stdio: 'inherit',
},
);
Expand Down

0 comments on commit 0cfaf66

Please sign in to comment.