Skip to content

Commit

Permalink
fix(core): fix conflicting types from merge conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
FrozenPandaz committed Jan 27, 2024
1 parent 1bd2e0e commit 0d78656
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/nx/src/command-line/run/run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import {
isAsyncIterator,
} from '../../utils/async-iterator';
import { getExecutorInformation } from './executor-utils';
import { PseudoTtyProcess } from 'nx/src/utils/child-process';

export interface Target {
project: string;
Expand Down Expand Up @@ -127,7 +128,7 @@ async function printTargetRunHelpInternal(
) {
const command = targetConfig.options.command.split(' ')[0];
await new Promise(() => {
const cp = runCommand(`${command} --help`);
const cp = new PseudoTtyProcess(runCommand(`${command} --help`));
cp.onExit((code) => {
process.exit(code);
});
Expand Down

0 comments on commit 0d78656

Please sign in to comment.