1
0
Fork 0

reversing order

pull/1343/head
Vallie Joseph 2023-02-17 21:30:18 +00:00
parent 499bfd9710
commit 4229b9c5c2
1 changed files with 2 additions and 2 deletions

View File

@ -132,7 +132,7 @@ export async function rmRF(inputPath: string): Promise<void> {
const cmdPath = ioUtil.getCmdPath() const cmdPath = ioUtil.getCmdPath()
if (await ioUtil.isDirectory(inputPath, true)) { if (await ioUtil.isDirectory(inputPath, true)) {
// deletes a dir then sets output to quiet // deletes a dir then sets output to quiet
spawn(cmdPath, ['/s', '/c', ' rd "%inputPath%"'], { spawn(cmdPath, ['/s', '/c', 'rd "%inputPath%"'], {
shell: true, shell: true,
env: {inputPath}, env: {inputPath},
timeout: 500 timeout: 500
@ -145,7 +145,7 @@ export async function rmRF(inputPath: string): Promise<void> {
// }) // })
} else { } else {
// deletes a file then pipes output // deletes a file then pipes output
spawn(cmdPath, ['/s', '/c', `del /f:on /a "%inputPath%"`], { spawn(cmdPath, ['/s', '/c', `del "%inputPath%"`], {
shell: false, shell: false,
env: {inputPath}, env: {inputPath},
timeout: 500 timeout: 500