Fix unknown committers causing crash
This commit is contained in:
parent
50e7dcaac3
commit
cd97774fb2
3 changed files with 13 additions and 2 deletions
5
lib/hash.js
Normal file
5
lib/hash.js
Normal file
|
@ -0,0 +1,5 @@
|
|||
import { createHash } from 'node:crypto'
|
||||
|
||||
export default function hash(string) {
|
||||
return createHash('md5').update(string).digest().toString('hex')
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue