This commit is contained in:
luk.lu
2022-11-14 17:22:08 +08:00
parent ebb03b8077
commit 107b073f18
4 changed files with 11 additions and 13 deletions

View File

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