Skip to content

Commit

Permalink
fix(node): Nightly failures (#17320)
Browse files Browse the repository at this point in the history
  • Loading branch information
ndcunningham authored May 30, 2023
1 parent 4314423 commit 02c19cb
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import type { Tree } from '@nx/devkit';
import { addGlobal, removeChange } from '@nx/js';
import { ensureTypescript } from '@nx/js/src/utils/typescript/ensure-typescript';
import * as ts from 'typescript';
import type { NormalizedOptions } from '../schema';

let tsModule: typeof import('typescript');
Expand All @@ -24,7 +23,7 @@ export function addExportsToBarrelFile(

// find the export in the source file
const exportStatement = sourceFile.statements.find((statement) =>
ts.isExportDeclaration(statement)
tsModule.isExportDeclaration(statement)
);

sourceFile = removeChange(
Expand Down

1 comment on commit 02c19cb

@vercel
Copy link

@vercel vercel bot commented on 02c19cb May 30, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

nx-dev – ./

nx-dev-git-master-nrwl.vercel.app
nx.dev
nx-dev-nrwl.vercel.app
nx-five.vercel.app

Please sign in to comment.