Adding npm audit fix to the install script

This commit is contained in:
Félix Aime 2021-01-27 16:27:01 +01:00
parent 4219a1df25
commit 97780888b7

View File

@ -265,10 +265,10 @@ check_dependencies() {
} }
compile_vuejs() { compile_vuejs() {
# Compile VueJS interfaces. # Installing packages, updating packages and compiling the VueJS interfaces
echo -e "\e[39m[+] Compiling VueJS projects" echo -e "\e[39m[+] Compiling VueJS projects"
cd /usr/share/tinycheck/app/backend/ && 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 run build cd /usr/share/tinycheck/app/frontend/ && npm install && npm audit fix && npm run build
} }
create_desktop() { create_desktop() {