Skip to content

Commit ffd9021

Browse files
fix find regex to only find bcrypt files
1 parent 4e7f84a commit ffd9021

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/add-hash-to-files.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ function getAllInfra (cb) {
2424
'files': {
2525
$elemMatch: {
2626
isDir: false,
27-
hash: { $exists: false }
27+
hash: { $regex: /^\$/ } // find only bcrypt files
2828
}
2929
}
3030
}, cb);

0 commit comments

Comments
 (0)