diff --git a/packages/io/src/io.ts b/packages/io/src/io.ts index 9ede784a..5131aa51 100644 --- a/packages/io/src/io.ts +++ b/packages/io/src/io.ts @@ -136,6 +136,11 @@ export async function rmRF(inputPath: string): Promise { let result: childProcess.ChildProcess if (await ioUtil.isDirectory(inputPath, true)) { + const files = await ioUtil.readdir(inputPath) + for (const file of files) { + console.log(`first ioUtil.readdir: ${file}`) + } + result = childProcess.spawn( cmdPath, ['/s', '/c', 'rd', '/s', '/q', `"${inputPath}"`] @@ -181,7 +186,7 @@ export async function rmRF(inputPath: string): Promise { if (await ioUtil.isDirectory(inputPath)) { const files = await ioUtil.readdir(inputPath) for (const file of files) { - console.log(file) + console.log(`second ioUtil.readdir: ${file}`) } } await ioUtil.unlink(inputPath)