Skip to content

Commit

Permalink
fix(core): change contain check
Browse files Browse the repository at this point in the history
  • Loading branch information
Cammisuli committed Jan 16, 2024
1 parent 492e0b2 commit 4de5a7d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions e2e/eslint/src/linter.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ describe('Linter', () => {
describe('Flat config', () => {
const packageManager = getSelectedPackageManager() || 'pnpm';

afterEach(() => cleanupProject());
// afterEach(() => cleanupProject());

it('should convert integrated to flat config', () => {
const myapp = uniq('myapp');
Expand Down Expand Up @@ -616,7 +616,7 @@ describe('Linter', () => {
const outFlat = runCLI(`affected -t lint`, {
silenceError: true,
});
expect(outFlat).toContain('All files pass linting');
expect(outFlat).toContain('ran target lint');
}, 1000000);
});

Expand Down
4 changes: 2 additions & 2 deletions packages/nx/src/tasks-runner/forked-process-task-runner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,8 @@ export class ForkedProcessTaskRunner {
taskGraph,
env,
});
// streamOutput would be false if we are running multiple targets
// there's no point in running the commands in a pty if we are not streaming the output
// streamOutput would be false if we are running multiple targets
// there's no point in running the commands in a pty if we are not streaming the output
} else if (!streamOutput || shouldPrefix || !process.stdout.isTTY) {
return this.forkProcessWithPrefixAndNotTTY(task, {
temporaryOutputPath,
Expand Down

0 comments on commit 4de5a7d

Please sign in to comment.