Skip to content

Commit

Permalink
Revert "fix(core): nx should not break if packages were not installed… (
Browse files Browse the repository at this point in the history
  • Loading branch information
FrozenPandaz authored Aug 23, 2023
1 parent d4ea806 commit 9c380d9
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions packages/nx/src/plugins/js/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,11 @@ export const processProjectGraph: ProjectGraphProcessor = async (
let parsedLockFile: ProjectGraph;
if (lockFileNeedsReprocessing(lockHash)) {
parsedLockFile = parseLockFile();
if (parsedLockFile) {
writeLastProcessedLockfileHash(lockHash, parsedLockFile);
}
writeLastProcessedLockfileHash(lockHash, parsedLockFile);
} else {
parsedLockFile = readParsedLockFile();
}
if (parsedLockFile) {
builder.mergeProjectGraph(parsedLockFile);
}
builder.mergeProjectGraph(parsedLockFile);
}
}

Expand Down

1 comment on commit 9c380d9

@vercel
Copy link

@vercel vercel bot commented on 9c380d9 Aug 23, 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-nrwl.vercel.app
nx-dev-git-master-nrwl.vercel.app
nx.dev
nx-five.vercel.app

Please # to comment.