Revert "Use native shell commands for clean/clean-all" #170
Loading…
Reference in a new issue
No description provided.
Delete branch "revert-native-clean"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This reverts commit
5fb294e7d7
.This will allow the clean/clean-all command to work on Windows once again.
Doing a bit of additional reseearch, I learned that the
&&
and||
operators do work on Windows since node usescmd.exe
and not Powershell like I initially thought.If you are using rmSync, why are you putting it in async closures?
That's what the original scripts did. Maybe I'll look at using the
fs/promises
api insteadTbh promises or not, you just don't have to wrap it in a function execution I think? Cause there's nothing asynchronous here
fair, I'm just gonna remove the async wrapper stuff for now