Skip to content

Commit

Permalink
chore: wip
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbbreuer committed Mar 6, 2024
1 parent 91f3dc5 commit 3de5d84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion storage/framework/core/storage/src/hash.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { fs } from './fs'

export function hashFileOrDirectory(path: string, hash: Hash): void {
// Check if the path exists before proceeding
if (!existsSync(path)) {
if (!fs.existsSync(path)) {
console.error(`Path does not exist: ${path}`)
// Handle the non-existent path as needed (e.g., skip or log)
return
Expand Down

0 comments on commit 3de5d84

Please sign in to comment.