Update hashing
This commit is contained in:
parent
65d75dec40
commit
1c6cd80b64
3 changed files with 9 additions and 14 deletions
|
|
@ -348,7 +348,7 @@ export class Syncer {
|
|||
try {
|
||||
const contentBytes =
|
||||
await this.operations.read(relativePath); // this can throw FileNotFoundError
|
||||
return hash(contentBytes);
|
||||
return await hash(contentBytes);
|
||||
} catch (e) {
|
||||
if (
|
||||
e instanceof Error &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue