Skip to content

Commit 024b5de

Browse files
authored
Clean up my-ts-node.js (#2031)
## Checklist - [-] I have added [tests](https://www.cursorless.org/docs/contributing/test-case-recorder/) - [-] I have updated the [docs](https://github.com/cursorless-dev/cursorless/tree/main/docs) and [cheatsheet](https://github.com/cursorless-dev/cursorless/tree/main/cursorless-talon/src/cheatsheet) - [-] I have not broken the cheatsheet
1 parent a59841b commit 024b5de

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/common/scripts/my-ts-node.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ function createTempDirectory(baseDir) {
3737
"my-ts-node-tmp",
3838
randomBytes(16).toString("hex"),
3939
);
40-
if (!existsSync(tempDir)) {
41-
mkdirSync(tempDir, { recursive: true });
42-
}
40+
41+
mkdirSync(tempDir, { recursive: true });
42+
4343
return tempDir;
4444
}
4545

0 commit comments

Comments
 (0)