From d589c08bf480370cd30dc65d117ae19d32403fd4 Mon Sep 17 00:00:00 2001 From: Cory Miller <13227161+cory-miller@users.noreply.github.com> Date: Wed, 22 Feb 2023 15:33:29 +0000 Subject: [PATCH] . --- packages/io/src/io.ts | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/packages/io/src/io.ts b/packages/io/src/io.ts index 8bdf67c6..d350871a 100644 --- a/packages/io/src/io.ts +++ b/packages/io/src/io.ts @@ -136,17 +136,18 @@ export async function rmRF(inputPath: string): Promise { } catch (err) { // if you try to delete a file that doesn't exist, desired result is achieved // other errors are valid + console.log(err) if (err.code !== 'ENOENT') throw err } - // Shelling out fails to remove a symlink folder with missing source, this unlink catches that - try { - await ioUtil.unlink(inputPath) - } catch (err) { - // if you try to delete a file that doesn't exist, desired result is achieved - // other errors are valid - if (err.code !== 'ENOENT') throw err - } + // // Shelling out fails to remove a symlink folder with missing source, this unlink catches that + // try { + // await ioUtil.unlink(inputPath) + // } catch (err) { + // // if you try to delete a file that doesn't exist, desired result is achieved + // // other errors are valid + // if (err.code !== 'ENOENT') throw err + // } } else { let isDir = false try {