Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pokey committed Nov 10, 2023
1 parent 565298e commit 673e7cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/common/scripts/my-ts-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ function createTempDirectory(baseDir) {

// Function to clean up the temporary directory
function cleanupTempDirectory(tempDir) {
if (fs.existsSync(tempDir)) {
fs.rmdirSync(tempDir, { recursive: true });
if (existsSync(tempDir)) {
rmdirSync(tempDir, { recursive: true });
}
}

Expand Down

0 comments on commit 673e7cd

Please sign in to comment.