Skip to content

Commit

Permalink
feat(core): expose hash file function in hasher (#10146)
Browse files Browse the repository at this point in the history
  • Loading branch information
yharaskrik committed May 4, 2022
1 parent 27d7eeb commit 4a91966
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/nx/src/hasher/hasher.ts
Expand Up @@ -153,6 +153,10 @@ export class Hasher {
return this.hashing.hashArray(values);
}

hashFile(path: string): string {
return this.hashing.hashFile(path);
}

private async runtimeInputsHash(): Promise<RuntimeHashResult> {
if (this.runtimeInputs) return this.runtimeInputs;

Expand Down

1 comment on commit 4a91966

@vercel
Copy link

@vercel vercel bot commented on 4a91966 May 4, 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-five.vercel.app
nx-dev-git-master-nrwl.vercel.app
nx.dev
nx-dev-nrwl.vercel.app

Please sign in to comment.