()
| 87 | |
| 88 | // Create a temporary directory within the OS's temp directory |
| 89 | export async function createTempDir(): Promise<string> { |
| 90 | // Generate a unique temp directory path |
| 91 | const tempDirPath: string = pathModule.join(tmpdir(), "trigger-"); |
| 92 | |
| 93 | // Create the temp directory synchronously and return the path |
| 94 | const directory = await fsModule.mkdtemp(tempDirPath); |
| 95 | |
| 96 | return directory; |
| 97 | } |
no outgoing calls
no test coverage detected
searching dependent graphs…