From 97780888b7703acb23e8e37609d0f89dbe045450 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Aime?= Date: Wed, 27 Jan 2021 16:27:01 +0100 Subject: [PATCH] Adding npm audit fix to the install script --- install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index 883490b..69d969d 100644 --- a/install.sh +++ b/install.sh @@ -265,10 +265,10 @@ check_dependencies() { } compile_vuejs() { - # Compile VueJS interfaces. + # Installing packages, updating packages and compiling the VueJS interfaces echo -e "\e[39m[+] Compiling VueJS projects" - cd /usr/share/tinycheck/app/backend/ && npm install && npm run build - cd /usr/share/tinycheck/app/frontend/ && npm install && npm run build + cd /usr/share/tinycheck/app/backend/ && npm install && npm audit fix && npm run build + cd /usr/share/tinycheck/app/frontend/ && npm install && npm audit fix && npm run build } create_desktop() {