Don't touch package-lock

This commit is contained in:
Cohee
2024-08-18 12:38:16 +03:00
parent f3459b919b
commit 886f143c8b
2 changed files with 0 additions and 2 deletions

View File

@@ -4,7 +4,6 @@
cd /d "%st_install_path%"
echo %blue_bg%[%time%]%reset% %blue_fg_strong%[INFO]%reset% Removing node_modules folder...
rmdir /s /q "node_modules"
del package-lock.json
call npm cache clean --force
echo %blue_bg%[%time%]%reset% %blue_fg_strong%[INFO]%reset% node_modules successfully removed.
pause

View File

@@ -1145,7 +1145,6 @@ editor() {
remove_node_modules() {
log_message "INFO" "Removing node_modules folder..."
cd "$(dirname "$0")./SillyTavern"
rm -rf node_modules package-lock.json
npm cache clean --force
log_message "INFO" "node_modules successfully removed."
read -p "Press Enter to continue..."