Skip to content

Commit

Permalink
Use UUID
Browse files Browse the repository at this point in the history
  • Loading branch information
tjosepo committed Jul 3, 2024
1 parent 692a106 commit 91e0397
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/create-schemas/tests/fixtures.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ interface CreateTemporaryFolderOptions {
export async function createTemporaryFolder({
onTestFinished
}: CreateTemporaryFolderOptions): Promise<string> {
const id = Math.random().toString(36).substring(2);
const id = crypto.randomUUID();
const path = join(tempFolder, id);

await mkdir(path, { recursive: true });
Expand Down

0 comments on commit 91e0397

Please sign in to comment.