Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Liam-Tait committed Sep 3, 2024
1 parent 38c2395 commit 39830fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uuid/v7.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ export function generate(options: GenerateOptions = {}): string {
export function extractTimestamp(uuid: string): number {
if (!validate(uuid)) {
throw new TypeError(
`Cannot extract timestamp because the UUID is not a valid UUIDv7: uuid is "${uuid}"`
`Cannot extract timestamp because the UUID is not a valid UUIDv7: uuid is "${uuid}"`,
);
}
const timestampHex = uuid.slice(0, 8) + uuid.slice(9, 13);
Expand Down

0 comments on commit 39830fc

Please sign in to comment.