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
#18784)

(cherry picked from commit 9c380d9)
  • Loading branch information
FrozenPandaz committed Aug 23, 2023
1 parent f6b9210 commit 94e762d
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

0 comments on commit 94e762d

Please sign in to comment.