Skip to content

Commit

Permalink
fix(core): ensure file hasher initialized before usage (#10603)
Browse files Browse the repository at this point in the history
  • Loading branch information
AgentEnder committed Jun 6, 2022
1 parent 4d7e5ba commit fd1194e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/nx/src/hasher/hasher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@ export class Hasher {
if (this.implicitDependencies) return this.implicitDependencies;

performance.mark('hasher:implicit deps hash:start');
await defaultFileHasher.ensureInitialized();

this.implicitDependencies = new Promise((res) => {
const implicitDeps = Object.keys(this.nxJson.implicitDependencies ?? {});
Expand Down

1 comment on commit fd1194e

@vercel
Copy link

@vercel vercel bot commented on fd1194e Jun 6, 2022

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-five.vercel.app
nx-dev-git-master-nrwl.vercel.app
nx.dev

Please sign in to comment.