diff --git a/packages/common/scripts/my-ts-node.js b/packages/common/scripts/my-ts-node.js index 48280ccf30..1851e0d7e6 100755 --- a/packages/common/scripts/my-ts-node.js +++ b/packages/common/scripts/my-ts-node.js @@ -20,7 +20,7 @@ function createTempDirectory(baseDir) { // Function to clean up the temporary directory function cleanupTempDirectory(tempDir) { - rmdirSync(tempDir, { recursive: true }); + rmdirSync(tempDir, { recursive: true, force: true }); } // Main function to execute the script