Skip to content

Commit

Permalink
fix(linter): export createNodesV2 (#26360)
Browse files Browse the repository at this point in the history
  • Loading branch information
AgentEnder authored Jun 4, 2024
1 parent d2d06cd commit 0105fd2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 3 additions & 1 deletion e2e/nx/src/run.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,9 @@ describe('Nx Running Tests', () => {
.map((r) => r.trim())
.filter((r) => r);
withBail = withBail.slice(withBail.indexOf('Failed tasks:'));
expect(withBail.length).toEqual(2);

expect(withBail).toHaveLength(2);

if (withBail[1] === `- ${myapp1}:error`) {
expect(withBail).not.toContain(`- ${myapp2}:error`);
} else {
Expand Down
6 changes: 5 additions & 1 deletion packages/eslint/plugin.ts
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
export { createNodes, EslintPluginOptions } from './src/plugins/plugin';
export {
createNodes,
createNodesV2,
EslintPluginOptions,
} from './src/plugins/plugin';

0 comments on commit 0105fd2

Please sign in to comment.