Skip to content

Commit 35853c3

Browse files
Remove extra path empty string
1 parent e430c7e commit 35853c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/temp-file.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import { v4 } from 'uuid';
2020
import { promises } from 'fs';
2121

2222
export async function writeTempFile(content: string): Promise<string> {
23-
const path: string = join(tmpdir(), v4(), '');
23+
const path: string = join(tmpdir(), v4());
2424
await promises.mkdir(dirname(path), { recursive: true });
2525
await promises.writeFile(path, content, 'utf-8');
2626

0 commit comments

Comments
 (0)