This commit is contained in:
luk.lu
2022-10-18 11:04:44 +08:00
parent 0e27993ffd
commit 5c0238ac99
7 changed files with 122 additions and 19 deletions

View File

@@ -34,7 +34,7 @@ echo;
for /d /r %%r in (*) do (
@REM windows的链接文件会造成路径错误从而终止该循环从而导致下一轮乃至所有循环的工作目录错误。因此要过滤掉 .vscode 这个符号链接目录。
if not "%%r" == ".vscode" (
if exist "%%r\.git" (
if exist "%%r\node_modules" (
pushd "%%r"
echo ---- Deleting [%FONPATH%\%%r] ----
rd /s /q node_modules