Skip to content

Commit

Permalink
cleanup(core): remove remaining instances of unreffing stdin
Browse files Browse the repository at this point in the history
  • Loading branch information
AgentEnder committed Jan 22, 2024
1 parent 469a72d commit 7a15316
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions packages/nx/src/command-line/affected/affected.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,6 @@ export async function affected(
extraTargetDependencies,
{ excludeTaskDependencies: false, loadDotEnvFiles: true }
);
// fix for https://github.com/nrwl/nx/issues/1666
if (process.stdin['unref']) (process.stdin as any).unref();
process.exit(status);
}
break;
Expand Down
2 changes: 0 additions & 2 deletions packages/nx/src/command-line/release/publish.ts
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,6 @@ async function runPublishOnProjects(
);

if (status !== 0) {
// fix for https://github.com/nrwl/nx/issues/1666
if (process.stdin['unref']) (process.stdin as any).unref();
process.exit(status);
}
}
Expand Down
2 changes: 0 additions & 2 deletions packages/nx/src/command-line/run-many/run-many.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,6 @@ export async function runMany(
extraTargetDependencies,
extraOptions
);
// fix for https://github.com/nrwl/nx/issues/1666
if (process.stdin['unref']) (process.stdin as any).unref();
process.exit(status);
}
}
Expand Down

0 comments on commit 7a15316

Please sign in to comment.