From 886f143c8b0a894eb10d06b90bcaa1b3f6287e28 Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Sun, 18 Aug 2024 12:38:16 +0300 Subject: [PATCH] Don't touch package-lock --- bin/functions/Toolbox/Troubleshooting/remove_node_modules.bat | 1 - launcher.sh | 1 - 2 files changed, 2 deletions(-) diff --git a/bin/functions/Toolbox/Troubleshooting/remove_node_modules.bat b/bin/functions/Toolbox/Troubleshooting/remove_node_modules.bat index d97825d..7e491c0 100644 --- a/bin/functions/Toolbox/Troubleshooting/remove_node_modules.bat +++ b/bin/functions/Toolbox/Troubleshooting/remove_node_modules.bat @@ -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 diff --git a/launcher.sh b/launcher.sh index e4be5bb..fae13c1 100755 --- a/launcher.sh +++ b/launcher.sh @@ -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..."