From 4229b9c5c26802c19a83a029d6eaf8e238444f8d Mon Sep 17 00:00:00 2001 From: Vallie Joseph Date: Fri, 17 Feb 2023 21:30:18 +0000 Subject: [PATCH] reversing order --- packages/io/src/io.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/io/src/io.ts b/packages/io/src/io.ts index a3526710..4c3ff3e9 100644 --- a/packages/io/src/io.ts +++ b/packages/io/src/io.ts @@ -132,7 +132,7 @@ export async function rmRF(inputPath: string): Promise { const cmdPath = ioUtil.getCmdPath() if (await ioUtil.isDirectory(inputPath, true)) { // deletes a dir then sets output to quiet - spawn(cmdPath, ['/s', '/c', ' rd "%inputPath%"'], { + spawn(cmdPath, ['/s', '/c', 'rd "%inputPath%"'], { shell: true, env: {inputPath}, timeout: 500 @@ -145,7 +145,7 @@ export async function rmRF(inputPath: string): Promise { // }) } else { // deletes a file then pipes output - spawn(cmdPath, ['/s', '/c', `del /f:on /a "%inputPath%"`], { + spawn(cmdPath, ['/s', '/c', `del "%inputPath%"`], { shell: false, env: {inputPath}, timeout: 500