Fix unknown committers causing crash

This commit is contained in:
hazycora 2023-08-03 07:48:52 -05:00
parent 50e7dcaac3
commit cd97774fb2
No known key found for this signature in database
GPG key ID: 215AF1F81F86940E
3 changed files with 13 additions and 2 deletions

5
lib/hash.js Normal file
View file

@ -0,0 +1,5 @@
import { createHash } from 'node:crypto'
export default function hash(string) {
return createHash('md5').update(string).digest().toString('hex')
}