This commit is contained in:
luk.lu
2021-08-18 17:16:46 +08:00
parent 6ce99af4a9
commit 7f308f6c34
3 changed files with 18 additions and 16 deletions

View File

@@ -24,12 +24,12 @@ echo *** Current path = [%CD%] ***
@REM for /d %%d in (*) do ( pushd %%d & ( for /d %%d in (*) do ( if exist %%d/.git pushd %%d & echo --- git pulling: %%d ... & git pull & popd ) ) & popd )
for /d %%d in (*) do (
pushd %%d
for /d %%d in (*) do (
if exist %%d/node_modules (
pushd %%d
echo Deleting %%d/node_modules ...
for /d %%o in (*) do (
pushd %%o
for /d %%g in (*) do (
if exist %%g\node_modules (
pushd %%g
echo Deleting [%%g\node_modules]
rd /s /q node_modules
popd
)