Skip to content

Commit

Permalink
fix: use correct execFile signature in projectGraphTiming
Browse files Browse the repository at this point in the history
  • Loading branch information
getlarge committed Sep 19, 2024
1 parent de7dc28 commit 7169b4a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export function scoreProjectGraphDuration(
export async function projectGraphTiming(): Promise<{ duration: number }> {
const start = performance.now();
const isWindows = process.platform === 'win32';
await promisify(execFile)('npx nx show projects', {
await promisify(execFile)('npx', ['nx', 'show', 'projects'], {
shell: isWindows,
env: {
...process.env,
Expand Down

0 comments on commit 7169b4a

Please sign in to comment.