Skip to content

Commit

Permalink
fix(core): handle optional tasksRunnerOptions when checking whether t…
Browse files Browse the repository at this point in the history
…o use the daemon (nrwl#7814)
  • Loading branch information
leosvelperez authored Nov 21, 2021
1 parent 3f7a74f commit 4570ea2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/workspace/src/core/project-graph/project-graph.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export async function createProjectGraphAsync(
): Promise<ProjectGraph> {
const nxJson = readNxJson();
const useDaemonProcessOption =
nxJson.tasksRunnerOptions['default']?.options?.useDaemonProcess;
nxJson.tasksRunnerOptions?.['default']?.options?.useDaemonProcess;
if (useDaemonProcessOption !== true && process.env.NX_DAEMON !== 'true') {
return projectGraphAdapter(
'5.0',
Expand Down

0 comments on commit 4570ea2

Please sign in to comment.