Prettier format pending files
This commit is contained in:
parent
9644e9eab3
commit
46a4881bc3
1 changed files with 3 additions and 1 deletions
|
|
@ -9,7 +9,9 @@ const generateDeterministicUUID = (str: string): string => {
|
|||
hash.slice(0, 8),
|
||||
hash.slice(8, 12),
|
||||
"5" + hash.slice(13, 16),
|
||||
((parseInt(hash.slice(16, 18), 16) & 0x3f) | 0x80).toString(16).padStart(2, "0") + hash.slice(18, 20),
|
||||
((parseInt(hash.slice(16, 18), 16) & 0x3f) | 0x80)
|
||||
.toString(16)
|
||||
.padStart(2, "0") + hash.slice(18, 20),
|
||||
hash.slice(20, 32),
|
||||
].join("-");
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue